introduce nginex-proxy
use host ip if working in wsl
This commit is contained in:
@@ -34,6 +34,7 @@ RUN pip install --upgrade pip \
|
||||
|
||||
# Expose Ports für Flask API
|
||||
EXPOSE 8000
|
||||
EXPOSE 5678
|
||||
|
||||
# Setze Env für Dev
|
||||
ENV FLASK_ENV=development
|
||||
@@ -43,4 +44,4 @@ ENV ENV_FILE=.env
|
||||
USER infoscreen_taa
|
||||
|
||||
# Default Command: Flask Development Server
|
||||
CMD ["flask", "run", "--host=0.0.0.0", "--port=8000"]
|
||||
CMD ["python", "-m", "debugpy", "--listen", "0.0.0.0:5678", "wsgi.py"]
|
||||
|
||||
Reference in New Issue
Block a user