summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: dd6048406fba6d9bb00254f4f51ecd8de11fc30c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM python:3.8
RUN pip install pipenv
WORKDIR /usr/src/app
COPY Pipfile Pipfile.lock ./
RUN pipenv install --system --deploy
COPY . ./
ENV FLASK_APP=herrschwarzify
ENV FLASK_ENV=production
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=5000
EXPOSE 5000
ENTRYPOINT flask run