Change port

This commit is contained in:
2025-12-23 17:33:30 +01:00
parent 19d13711d2
commit b5ace86a03
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ services:
context: ./frontend context: ./frontend
image: cafeteria-frontend:${FRONTEND_TAG} image: cafeteria-frontend:${FRONTEND_TAG}
ports: ports:
- "80:80" - "8081:8081"
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_healthy

View File

@@ -8,5 +8,5 @@ RUN npm run build
FROM nginx:1.27-alpine AS final FROM nginx:1.27-alpine AS final
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80 EXPOSE 8081
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]