Spaces:
Build error
Build error
Update Dockerfile
Browse files- 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
|