remove Procfile - use Docker CMD with gunicorn
This commit is contained in:
parent
cd7ba335b3
commit
d41fc2e274
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue