netclock/Dockerfile
Armin Friedl b410540f7f
All checks were successful
continuous-integration/drone/push Build is passing
Fix to python 3.8
2020-10-26 11:34:04 +01:00

15 lines
233 B
Docker

FROM python:3.8-alpine
RUN apk update && apk add redis su-exec \
&& pip3 install pipenv
COPY . /app
WORKDIR /app
ENV FLASK_APP=netclock.py
ENV FLASK_ENV=production
RUN pipenv install
EXPOSE 5000
ENTRYPOINT ["./entrypoint.sh"]