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 --from=builder /app/dist/fuse/browser /usr/share/nginx/html
# Simple nginx config for Angular SPA
RUN echo 'server { \n\
# Create nginx config with proper formatting
RUN printf 'server {\n\
listen 80;\n\
root /usr/share/nginx/html;\n\
index index.html;\n\
location / {\n\
try_files $uri $uri/ /index.html;\n\
}\n\
}' > /etc/nginx/conf.d/default.conf
}\n' > /etc/nginx/conf.d/default.conf
EXPOSE 80