cahya commited on
Commit
ade2333
1 Parent(s): 2b7a002

chown /run

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,8 +7,8 @@ COPY ./requirements.txt /fastapi/requirements.txt
7
  RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
8
  COPY ./app /fastapi/app
9
  COPY ./default /etc/nginx/sites-available
10
- RUN chown -R 1000 /var/log/nginx/ /var/lib/nginx/ /fastapi/app/
11
  RUN mkdir -p /.config
12
- RUN chown 1000 /.config
13
  EXPOSE 7860
14
  CMD ["/bin/sh", "/fastapi/app/start.sh"]
 
7
  RUN pip install --no-cache-dir --upgrade -r /fastapi/requirements.txt
8
  COPY ./app /fastapi/app
9
  COPY ./default /etc/nginx/sites-available
10
+ RUN chown -R 1000 /var/log/nginx/ /var/lib/nginx/ /run/ /fastapi/app/
11
  RUN mkdir -p /.config
12
+ RUN chown -R 1000 /.config
13
  EXPOSE 7860
14
  CMD ["/bin/sh", "/fastapi/app/start.sh"]