bugfix/main-13-UpdateConfigurations #17
@@ -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
|
||||||
|
|||||||
@@ -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;"]
|
||||||
|
|||||||
Reference in New Issue
Block a user