fix problem 404 on reload

This commit is contained in:
2026-01-24 18:49:06 +01:00
parent cb9c2535fd
commit 144699ad24
2 changed files with 48 additions and 1 deletions
+2 -1
View File
@@ -15,6 +15,7 @@ WORKDIR /usr/src/app
# Copy package files
COPY package*.json ./
#COPY /nginx.conf ./nginx.conf
# Install dependencies
RUN npm install
@@ -33,7 +34,7 @@ FROM nginx:alpine
#COPY --from=build /usr/src/app/build /usr/share/nginx/html
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
# Copy custom nginx configuration for SPA routing
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /usr/src/app/nginx.conf /etc/nginx/conf.d/default.conf
# Expose HTTP port
EXPOSE 80