clone3 commited on
Commit
0446496
·
verified ·
1 Parent(s): 282c100

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,9 +20,9 @@ COPY html-page /usr/share/nginx/html-page
20
  # Set permissions for directories and files
21
  RUN chmod +x /app/build/tanks.x86_64 && \
22
  mkdir -p /app/logs && \
23
- mkdir -p /var/log/nginx /var/lib/nginx /var/cache/nginx /var/lib/nginx/body && \
24
  chown -R www-data:www-data /app /usr/share/nginx/html /usr/share/nginx/html-page /var/log/nginx /var/lib/nginx /var/cache/nginx && \
25
- chmod 755 /var/log/nginx /var/lib/nginx /var/cache/nginx /var/lib/nginx/body
26
 
27
  # Copy and configure custom entrypoint script
28
  COPY entrypoint.sh /entrypoint.sh
 
20
  # Set permissions for directories and files
21
  RUN chmod +x /app/build/tanks.x86_64 && \
22
  mkdir -p /app/logs && \
23
+ mkdir -p /var/log/nginx /var/lib/nginx /var/cache/nginx /var/lib/nginx/body /var/lib/nginx/proxy && \
24
  chown -R www-data:www-data /app /usr/share/nginx/html /usr/share/nginx/html-page /var/log/nginx /var/lib/nginx /var/cache/nginx && \
25
+ chmod 755 /var/log/nginx /var/lib/nginx /var/cache/nginx /var/lib/nginx/body /var/lib/nginx/proxy
26
 
27
  # Copy and configure custom entrypoint script
28
  COPY entrypoint.sh /entrypoint.sh