13 lines
		
	
	
		
			503 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			503 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM python:3.7.2-alpine3.9
 | |
| 
 | |
| RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
 | |
| RUN apk add --update --no-cache ca-certificates gcc g++ curl openblas-dev@community
 | |
| RUN ln -s /usr/include/locale.h /usr/include/xlocale.h
 | |
| 
 | |
| WORKDIR /usr/src/LEDServer
 | |
| RUN pip3 install --no-cache-dir numpy 
 | |
| # RUN pip3 install --no-cache-dir scipy # scipy is only required by the recorder application
 | |
| 
 | |
| COPY . /usr/src/LEDServer
 | |
| CMD python3.7 -u /usr/src/LEDServer/LEDServer.py
 |