mirror of
https://github.com/ovosimpatico/xtream2m3u.git
synced 2026-01-15 16:32:55 -03:00
Use a proper WSGI server
This commit is contained in:
@@ -16,5 +16,5 @@ EXPOSE 5000
|
||||
# Define environment variable
|
||||
ENV FLASK_APP=run.py
|
||||
|
||||
# Run the application
|
||||
CMD ["flask", "run", "--host=0.0.0.0"]
|
||||
# Run the application using Gunicorn
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "run:app"]
|
||||
Reference in New Issue
Block a user