raspberry-pi/Dockerfile
2019-10-11 16:57:50 +01:00

15 lines
251 B
Docker

FROM python:2
MAINTAINER André Almeida "andre@andrealmeida.net"
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
ENTRYPOINT [ "python" ]
CMD [ "raspberry-pi-web-info/api.py" ]