Docker buid issue
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user