honey234 commited on
Commit
d0e3dc8
·
1 Parent(s): 2d67d84
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -4,5 +4,9 @@ FROM nginx:alpine
4
  # Copy Flutter web build files to Nginx web root
5
  COPY web /usr/share/nginx/html
6
 
 
 
 
 
7
  # Copy a custom Nginx configuration if needed
8
  # COPY nginx.conf /etc/nginx/conf.d/default.conf
 
4
  # Copy Flutter web build files to Nginx web root
5
  COPY web /usr/share/nginx/html
6
 
7
+ # Set permissions for the nginx user
8
+ RUN chown -R nginx:nginx /usr/share/nginx/html && \
9
+ chmod -R 755 /usr/share/nginx/html
10
+
11
  # Copy a custom Nginx configuration if needed
12
  # COPY nginx.conf /etc/nginx/conf.d/default.conf