Fixing Dockerfile
All checks were successful
Music Collection CI Workflow / test (./backend) (push) Successful in 22s
Music Collection CI Workflow / test (./frontend) (push) Successful in 17s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/msuic-collection-backend, ./backend) (push) Successful in 48s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 54s
Music Collection CI Workflow / deploy (push) Successful in 22s

This commit is contained in:
Phill Pover 2025-04-02 17:50:00 +01:00
parent 0a06e489e2
commit b66bc0cdf2

View File

@ -8,6 +8,6 @@ RUN npm run build
# Production Stage # Production Stage
FROM nginx:stable-alpine AS production FROM nginx:stable-alpine AS production
COPY --from=build /app/build /usr/share/nginx/html COPY --from=build /app/.next /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]