chown /run
Browse files- 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"]
|