Skip to content

Instantly share code, notes, and snippets.

@Tenzer
Created December 7, 2023 21:20
Show Gist options
  • Save Tenzer/bf8b018d823d0f5c4f291b464444c4cd to your computer and use it in GitHub Desktop.
Save Tenzer/bf8b018d823d0f5c4f291b464444c4cd to your computer and use it in GitHub Desktop.
uWSGI Python 3.12 reproduction case
def application(environ, start_fn):
start_fn("200 OK", [("Content-Type", "text/plain")])
return ["Hello World!\n"]
FROM python:3.12.0
RUN pip install pyuwsgi==2.0.23
COPY app.py uwsgi.ini ./
CMD uwsgi --ini uwsgi.ini
[uwsgi]
wsgi-file = app.py
http-socket = :8000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment