We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1cd5c8 commit 82b463cCopy full SHA for 82b463c
1 file changed
frontend/Dockerfile
@@ -11,7 +11,9 @@ COPY index.html /usr/share/nginx/html/
11
COPY pages /usr/share/nginx/html/pages
12
COPY css /usr/share/nginx/html/css
13
COPY js /usr/share/nginx/html/js
14
-COPY assets /usr/share/nginx/html/assets
+
15
+RUN mkdir -p /usr/share/nginx/html/assets
16
+COPY assets/* /usr/share/nginx/html/assets/ 2>/dev/null || true
17
18
# Fix permissions
19
RUN chown -R nginx:nginx /usr/share/nginx/html && \
@@ -34,4 +36,4 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
34
36
EXPOSE 80
35
37
38
# Start nginx in foreground
-CMD ["nginx", "-g", "daemon off;"]
39
+CMD ["nginx", "-g", "daemon off;"]
0 commit comments