chore: split build into library and app modes for Docker and npm compatibility

This commit is contained in:
2026-03-03 09:25:51 +00:00
parent 5e4fa25fc4
commit 5e70b417db
7 changed files with 57 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ RUN npm run build
# Stage 2: Serve the application with Nginx
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY --from=build-stage /app/dist-app /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80