Docker buid issue

This commit is contained in:
2025-10-17 10:15:11 +05:30
parent 3043c719b0
commit 1452aafb42

View File

@ -21,15 +21,15 @@ FROM nginx:alpine
# Copy built files # Copy built files
COPY --from=builder /app/dist/fuse/browser /usr/share/nginx/html COPY --from=builder /app/dist/fuse/browser /usr/share/nginx/html
# Simple nginx config for Angular SPA # Create nginx config with proper formatting
RUN echo 'server { \n\ RUN printf 'server {\n\
listen 80; \n\ listen 80;\n\
root /usr/share/nginx/html; \n\ root /usr/share/nginx/html;\n\
index index.html; \n\ index index.html;\n\
location / { \n\ location / {\n\
try_files $uri $uri/ /index.html; \n\ try_files $uri $uri/ /index.html;\n\
} \n\ }\n\
}' > /etc/nginx/conf.d/default.conf }\n' > /etc/nginx/conf.d/default.conf
EXPOSE 80 EXPOSE 80