Skip to content
Snippets Groups Projects
Verified Commit 7583e552 authored by Mark's avatar Mark
Browse files

Add Dockerfile

parent 589f13fd
No related branches found
No related tags found
No related merge requests found
Pipeline #289 passed with stages
in 2 minutes and 49 seconds
FROM python:3.7
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 5000
ENV FLASK_ENV production
ENV FLASK_RUN_HOST 0.0.0.0
ENV DATABASE_USER dbuser
ENV DATABASE_PASSWORD secret
ENV DATABASE_NAME db
ENV DATABASE_HOST postgresql
CMD [ "flask", "run" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment