File tree 2 files changed +6
-6
lines changed
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
2
2
3
3
RUN apt-get update && apt-get install -y vim
4
4
@@ -16,10 +16,10 @@ COPY requirements.txt /
16
16
17
17
RUN pip install --no-cache-dir -r /requirements.txt
18
18
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
23
23
24
24
COPY . .
25
25
Original file line number Diff line number Diff line change 1
1
[uwsgi]
2
2
http-socket = :5000
3
- plugin = python38
3
+ plugin = python310
4
4
module = wsgi:app
5
5
chdir = /app
6
6
pythonpath = .
You can’t perform that action at this time.
0 commit comments