Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -45,6 +45,10 @@ COPY --from=web_client /usr/share/nginx/html-page /usr/share/nginx/html-page
|
|
45 |
COPY --from=web_client /etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
46 |
COPY --from=web_client /etc/nginx/conf.d /etc/nginx/conf.d
|
47 |
|
|
|
|
|
|
|
|
|
48 |
# Expose necessary ports
|
49 |
EXPOSE 80 7777/udp 7778/tcp 7860
|
50 |
|
|
|
45 |
COPY --from=web_client /etc/nginx/nginx.conf /etc/nginx/nginx.conf
|
46 |
COPY --from=web_client /etc/nginx/conf.d /etc/nginx/conf.d
|
47 |
|
48 |
+
# Set permissions for the copied files
|
49 |
+
RUN chown -R www-data:www-data /app /usr/share/nginx/html /usr/share/nginx/html-page && \
|
50 |
+
chmod -R 755 /app/build /usr/share/nginx/html /usr/share/nginx/html-page
|
51 |
+
|
52 |
# Expose necessary ports
|
53 |
EXPOSE 80 7777/udp 7778/tcp 7860
|
54 |
|