2👍
For me, I had FROM python:3.11-alpine
in my Dockerfile which didn’t include all the necessary dependencies to build uwsgi. When switching to FROM python:3.11
, it built fine for me.
1👍
uWSGI has multiple dependencies which should be available before installation. I prefer to use a readily available ubuntu
base image with the minor modification possible.
FROM ubuntu:18.04
RUN apt update && \
apt install -y vim && \
apt-get install -y python3-pip && \
apt install gcc && \
pip3 install uwsgi
👤meti
- [Django]-Django-pyodbc SQL Server/freetds server connection problems on linux
- [Django]-Django rest framework Serializer validate field data type
- [Django]-I can't insert a footnote into the copied text
- [Django]-Local Django website won't load in browser
- [Django]-Docker error using python 3.7: Generator expression must be parenthesized
Source:stackexchange.com