fixes
This commit is contained in:
@@ -19,4 +19,4 @@ EXPOSE 5050
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
||||
CMD python3 test.py
|
||||
|
||||
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:5050", "rss_proxy:proxy_app"]
|
||||
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:5050", "app:proxy_app"]
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from flask import Flask
|
||||
from .config import Config
|
||||
|
||||
|
||||
def proxy_app():
|
||||
app = Flask(__name__)
|
||||
app.config.from_object(Config)
|
||||
@@ -10,5 +11,3 @@ def proxy_app():
|
||||
rss_proxy.init_proxy(app)
|
||||
healthcheck.init_healthcheck(app)
|
||||
return app
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user