fixing nginx 404 on refresh
All checks were successful
Frontend Build and Deploy / build (push) Successful in 14s
All checks were successful
Frontend Build and Deploy / build (push) Successful in 14s
This commit is contained in:
@@ -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 nginx’s html folder
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
|
||||
|
Reference in New Issue
Block a user