BinaryONe commited on
Commit
8d7ff77
·
1 Parent(s): f2d4829

Nginx Changes

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,7 +23,8 @@ COPY . /app
23
  # Copy Nginx config
24
  COPY nginx.conf /etc/nginx/conf.d/default.conf
25
 
26
- RUN chmod 777 /var/lib/nginx/logs/error.log
 
27
 
28
  # Create necessary directories and set correct permissions
29
  RUN mkdir -p /var/www/html /var/log/nginx /run/nginx && \
 
23
  # Copy Nginx config
24
  COPY nginx.conf /etc/nginx/conf.d/default.conf
25
 
26
+ RUN touch /var/lib/nginx/logs/error.log && \
27
+ chmod 777 /var/lib/nginx/logs/error.log
28
 
29
  # Create necessary directories and set correct permissions
30
  RUN mkdir -p /var/www/html /var/log/nginx /run/nginx && \