Ramses II
commited on
Commit
•
cb53bb9
1
Parent(s):
55bf45f
auto msg
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -30,8 +30,8 @@ RUN mkdir -p /var/lib/nginx/body /var/lib/nginx/fastcgi \
|
|
30 |
|
31 |
# Ensure Nginx has permissions to write to log directory and PID file
|
32 |
RUN touch /var/log/nginx/error.log /var/log/nginx/access.log /run/nginx.pid \
|
33 |
-
&& chown -R ${NB_UID}:${NB_GID} /var/log/nginx /run/nginx.
|
34 |
-
|
35 |
# Set the permissions for the app directory to the existing user
|
36 |
RUN chown -R ${NB_UID}:${NB_GID} /app
|
37 |
|
|
|
30 |
|
31 |
# Ensure Nginx has permissions to write to log directory and PID file
|
32 |
RUN touch /var/log/nginx/error.log /var/log/nginx/access.log /run/nginx.pid \
|
33 |
+
&& chown -R ${NB_UID}:${NB_GID} /var/log/nginx /run/nginx.pid
|
34 |
+
|
35 |
# Set the permissions for the app directory to the existing user
|
36 |
RUN chown -R ${NB_UID}:${NB_GID} /app
|
37 |
|