Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python based architecture #4

Open
obriensystems opened this issue Apr 6, 2024 · 0 comments
Open

Python based architecture #4

obriensystems opened this issue Apr 6, 2024 · 0 comments
Assignees

Comments

@obriensystems
Copy link
Member

obriensystems commented Apr 6, 2024

follow
https://docs.docker.com/language/python/containerize/

after docker init
add

python-docker-server-1  | /bin/sh: 1: gunicorn: not found
python-docker-server-1 exited with code 127

see
https://developers.redhat.com/articles/2023/08/17/how-deploy-flask-application-python-gunicorn#:~:text=Flask%20also%20has%20a%20server,Gateway%20Interface)%20server%20like%20Gunicorn.

fix dependencies

#Flask==2.3.2
#Werkzeug==2.3.6

Flask==3.0.2
Werkzeug==3.0.0
Gunicorn==21.2.0

micha@carbon MINGW64 /c/wse_github/obrienlabsdev/doppler-radar-ml/python-docker (main)
$ docker compose up --build

python-docker-server-1  | [2024-04-06 15:58:45 +0000] [7] [INFO] Listening at: http://0.0.0.0:8000 (7)

@obriensystems obriensystems self-assigned this Apr 6, 2024
obriensystems added a commit that referenced this issue Apr 6, 2024
obriensystems added a commit that referenced this issue Apr 6, 2024
obriensystems added a commit that referenced this issue Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant