Tweak the Dockerfile

This commit is contained in:
Thomas Sileo 2019-04-22 22:41:45 +02:00
parent cdc364f028
commit efe99f9477

View file

@ -1,6 +1,7 @@
FROM python:3 FROM python:3
ADD . /app COPY requirements.txt /app/requirements.txt
WORKDIR /app WORKDIR /app
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
ADD . /app
ENV FLASK_APP=app.py ENV FLASK_APP=app.py
CMD ["./run.sh"] CMD ["./run.sh"]