changes I made a long time ago

This commit is contained in:
boyreau 2025-04-24 11:02:41 +00:00
commit 8a5c06edac
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@ services:
WSGI_FILE: "sciodog.wsgi" WSGI_FILE: "sciodog.wsgi"
HOSTNAME: "sciodog.fr" HOSTNAME: "sciodog.fr"
PORT: 8000 PORT: 8000
volumes:
- /var/www/sciodog.fr/:/var/www/sciodog.fr:rw
ports: ports:
- "8000:8000" - "8000:8000"
restart: always restart: always

View file

@ -7,7 +7,7 @@ FROM alpine:latest
# UWSGI Configuration # UWSGI Configuration
COPY configuration/ /etc/uwsgi/ COPY configuration/ /etc/uwsgi/
RUN mkdir -p /etc/uwsgi ; \ RUN mkdir -p /etc/uwsgi ; \
adduser uwsgi -S -D -H -s /usr/sbin/nologin ; \ adduser uwsgi -S -D -H -s /usr/sbin/nologin -u 33; \
apk add python3 python3-dev py3-pip gcc musl-dev linux-headers ; \ apk add python3 python3-dev py3-pip gcc musl-dev linux-headers ; \
pip install --break-system-packages uwsgi django pip install --break-system-packages uwsgi django