diff --git a/Dockerfile b/Dockerfile index ec4f1516..6dc415aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,16 +18,17 @@ RUN pipenv install --dev ENV FLASK_APP=./crc/__init__.py +# include rejoiner code (gets overriden by local changes) +COPY . /crc-workflow/ + # run migrations CMD ["pipenv", "run", "flask", "db", "upgrade"] CMD ["pipenv", "run", "flask", "load-example-data"] -# include rejoiner code (gets overriden by local changes) -COPY . /crc-workflow/ - # run webserver by default CMD ["pipenv", "run", "python", "/crc-workflow/run.py"] + # expose ports EXPOSE 5000