FIX GUNICORN 2
This commit is contained in:
parent
45f4029509
commit
a5f4159a49
@ -9,4 +9,4 @@ COPY . .
|
||||
RUN pip3 install -r requirements.txt
|
||||
EXPOSE 5000/udp
|
||||
EXPOSE 5000/tcp
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:5000", "ayct_backend:create_app()", "--timeout", "120"]
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:5000", "ayct_backend:app", "--timeout", "120"]
|
@ -27,3 +27,5 @@ def create_app():
|
||||
return "Hello world!"
|
||||
|
||||
return app
|
||||
|
||||
app = create_app()
|
||||
|
Loading…
Reference in New Issue
Block a user