netclock/Dockerfile

16 lines
233 B
Text
Raw Permalink Normal View History

2020-10-26 10:34:04 +00:00
FROM python:3.8-alpine
2020-09-12 19:31:45 +00:00
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"]