snip/Dockerfile
Armin Friedl ab6594b353
All checks were successful
continuous-integration/drone/push Build is passing
Add CI build
2020-10-26 17:39:44 +01:00

15 lines
245 B
Docker

FROM python:3.8-alpine
RUN apk update && apk add su-exec \
&& pip3 install pipenv
COPY . /app
WORKDIR /app
ENV FLASK_APP=snip
ENV FLASK_ENV=production
RUN pipenv install
EXPOSE 5000
CMD ["pipenv", "run", "flask", "run", "--host=0.0.0.0"]