7th_fix port
This commit is contained in:
@@ -72,7 +72,7 @@ REDIS_URL=redis://localhost:6379/0
|
||||
# ===========================================
|
||||
# CORS 設定
|
||||
# ===========================================
|
||||
CORS_ORIGINS=http://localhost:3000,http://localhost:3001,http://localhost:3002
|
||||
CORS_ORIGINS=http://localhost:12012,http://localhost:3001,http://localhost:3002
|
||||
|
||||
# ===========================================
|
||||
# 日誌設定
|
||||
|
@@ -83,7 +83,7 @@ REDIS_URL=redis://localhost:6379/0
|
||||
# ===========================================
|
||||
# CORS 設定
|
||||
# ===========================================
|
||||
CORS_ORIGINS=http://localhost:3000
|
||||
CORS_ORIGINS=http://localhost:12012
|
||||
|
||||
# ===========================================
|
||||
# 日誌設定
|
||||
|
@@ -30,7 +30,7 @@ ENV FLASK_APP=app.py
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5000
|
||||
EXPOSE 12011
|
||||
|
||||
# Run the application
|
||||
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=5000"]
|
||||
CMD ["python", "-m", "flask", "run", "--host=0.0.0.0", "--port=12011"]
|
@@ -157,4 +157,4 @@ def register_error_handlers(app):
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.run(host='0.0.0.0', port=5000, debug=True)
|
||||
app.run(host='0.0.0.0', port=12011, debug=True)
|
Reference in New Issue
Block a user