diff --git a/fuse-starter-v20.0.0/Dockerfile b/fuse-starter-v20.0.0/Dockerfile index 55e52d3..da7da49 100644 --- a/fuse-starter-v20.0.0/Dockerfile +++ b/fuse-starter-v20.0.0/Dockerfile @@ -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\ - 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 +# 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\ +}\n' > /etc/nginx/conf.d/default.conf EXPOSE 80