Use correct app when running with waitress
This commit is contained in:
parent
7fad75fc08
commit
a29d3a33be
2 changed files with 2 additions and 2 deletions
|
@ -19,4 +19,4 @@ FROM development AS production
|
|||
RUN pip install waitress
|
||||
|
||||
CMD python app.py db upgrade && \
|
||||
python wsgi.py
|
||||
python waitress_wsgi.py
|
||||
|
|
|
@ -13,4 +13,4 @@ if __name__ == "__main__":
|
|||
)
|
||||
|
||||
app, app_mgr = create_app()
|
||||
serve(app_mgr, host="0.0.0.0", port=8000)
|
||||
serve(app, host="0.0.0.0", port=8000)
|
Loading…
Reference in a new issue