fixing nginx 404 on refresh
All checks were successful
Frontend Build and Deploy / build (push) Successful in 14s

This commit is contained in:
2025-05-31 12:20:03 -03:00
parent 1ced8d8700
commit 427c9da08b
4 changed files with 104 additions and 53 deletions

View File

@@ -17,6 +17,8 @@ RUN yarn build
FROM nginx:stable-alpine
# Remove default nginx html
RUN rm -rf /usr/share/nginx/html/*
# Replace default nginx.conf
COPY nginx.conf /etc/nginx/nginx.conf
# Copy our built files into nginxs html folder
COPY --from=builder /app/dist /usr/share/nginx/html