changes I made a long time ago
This commit is contained in:
parent
4e72133fe2
commit
8a5c06edac
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue