remove Procfile - use Docker CMD with gunicorn

This commit is contained in:
GroovieGermanikus 2023-11-23 09:27:55 +01:00
parent cd7ba335b3
commit d41fc2e274
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
2 changed files with 1 additions and 5 deletions

View File

@ -8,8 +8,6 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . /usr/src/app
ENV FLASK_APP=app.py
EXPOSE 8080
CMD ["flask", "run", "--host", "0.0.0.0", "--port", "8080"]
CMD ["gunicorn", "app:webapp", "--bind", "0.0.0.0:8080"]

View File

@ -1,2 +0,0 @@
web: gunicorn app:app