fix: add nginx SPA fallback
continuous-integration/drone/pr Build is passing

This commit is contained in:
Dennis Hundertmark
2026-03-09 12:51:03 +01:00
parent a779a16acb
commit 3cf3da9886
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -9,5 +9,6 @@ RUN npm run build
# Runtime Stage
FROM nginx:alpine
COPY --from=builder /app/dist/*/browser /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]