PaulMartrenchar commited on
Commit
0abb0ed
·
1 Parent(s): ce68975

Issue on Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  # Use an official Nginx image as the base
2
  FROM nginx:alpine
3
 
 
 
 
 
 
4
  # Copy the HTML file to the Nginx default directory
5
  COPY index.html /usr/share/nginx/html
6
 
 
1
  # Use an official Nginx image as the base
2
  FROM nginx:alpine
3
 
4
+ # Create necessary directories and set permissions
5
+ RUN mkdir -p /var/cache/nginx/client_temp && \
6
+ chown -R nginx:nginx /var/cache/nginx && \
7
+ chmod -R 755 /var/cache/nginx
8
+
9
  # Copy the HTML file to the Nginx default directory
10
  COPY index.html /usr/share/nginx/html
11