fix: no pid nonsense
This commit is contained in:
parent
fbc3261f45
commit
1370f823ab
|
@ -3,6 +3,4 @@ FROM python:3.11
|
|||
COPY requirements.txt /data/
|
||||
RUN pip install --no-cache-dir -r /data/requirements.txt
|
||||
|
||||
VOLUME /data
|
||||
|
||||
CMD [ "python", "/data/dawdle.py", "/data/data/dawdle.conf"]
|
||||
|
|
|
@ -1,13 +1,17 @@
|
|||
server {
|
||||
|
||||
location /static {
|
||||
#autoindex on;
|
||||
alias /usr/share/nginx/html/;
|
||||
alias /usr/share/nginx/html/;
|
||||
}
|
||||
location /favicon.ico {
|
||||
alias /usr/share/nginx/html/favicon.ico;
|
||||
}
|
||||
location /robots.txt {
|
||||
alias /usr/share/nginx/html/robots.txt;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://web:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://web:8000;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
access_log syslog;
|
||||
|
|
Loading…
Reference in a new issue