This commit is contained in:
Philipp Rothmann 2022-10-25 17:07:32 +02:00
commit b2a18c5a21
69 changed files with 2122 additions and 119 deletions

View file

@ -15,11 +15,19 @@ ADD requirements.txt .
# pip install the local requirements.txt
RUN pip install -r requirements.txt
<<<<<<< HEAD
# now copy all the files in this directory to /app
=======
# now copy all the files in this directory to /code
>>>>>>> main
ADD . .
# Listen to port 80 at runtime
EXPOSE 5000
# Define our command to be run when launching the container
ENTRYPOINT [ "/app/entrypoint.sh" ]
<<<<<<< HEAD
ENTRYPOINT [ "/app/entrypoint.sh" ]
=======
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:5000", "--workers", "4", "--reload", "--capture-output", "--enable-stdio-inheritance", "--log-level", "DEBUG"]
>>>>>>> main