File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.8
1+ FROM python:3.10.9-bullseye
22
33RUN apt-get update && apt-get install -y vim
44
@@ -16,10 +16,10 @@ COPY requirements.txt /
1616
1717RUN pip install --no-cache-dir -r /requirements.txt
1818
19- RUN export PYTHON=python3.8
20- RUN uwsgi --build-plugin "/usr/src/uwsgi/plugins/python python38 "
21- RUN mv python38_plugin .so /usr/lib/uwsgi/plugins/python38_plugin .so
22- RUN chmod 666 /usr/lib/uwsgi/plugins/python38_plugin .so
19+ RUN export PYTHON=python3.10
20+ RUN uwsgi --build-plugin "/usr/src/uwsgi/plugins/python python310 "
21+ RUN mv python310_plugin .so /usr/lib/uwsgi/plugins/python310_plugin .so
22+ RUN chmod 666 /usr/lib/uwsgi/plugins/python310_plugin .so
2323
2424COPY . .
2525
Original file line number Diff line number Diff line change 11[uwsgi]
22http-socket = :5000
3- plugin = python38
3+ plugin = python310
44module = wsgi:app
55chdir = /app
66pythonpath = .
You can’t perform that action at this time.
0 commit comments