diff --git a/docker-compose.yaml b/docker-compose.yaml index 20eb1c3..534d59c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,6 +7,8 @@ services: WSGI_FILE: "sciodog.wsgi" HOSTNAME: "sciodog.fr" PORT: 8000 + volumes: + - /var/www/sciodog.fr/:/var/www/sciodog.fr:rw ports: - "8000:8000" restart: always diff --git a/sciodog-app/Dockerfile b/sciodog-app/Dockerfile index 8db743b..ac1f94e 100644 --- a/sciodog-app/Dockerfile +++ b/sciodog-app/Dockerfile @@ -7,7 +7,7 @@ FROM alpine:latest # UWSGI Configuration COPY configuration/ /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 ; \ pip install --break-system-packages uwsgi django