Update Dockerfile and Kubernetes manifests

This commit updates the Dockerfile to expose port 32166 instead of 15002. It also adds a new deployment.yaml file, an ingress.yaml file, and a service.yaml file for Kubernetes deployment. The deployment.yml file has been deleted.
This commit is contained in:
Dede Fuji Abdul
2024-01-15 12:07:30 +07:00
parent 9943d214d2
commit bfab727e59
5 changed files with 125 additions and 21 deletions

View File

@ -9,5 +9,5 @@ RUN npm run build
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY --from=build-stage /app/nginx.conf /etc/nginx/nginx.conf
EXPOSE 15002
EXPOSE 32166
CMD ["nginx", "-g", "daemon off;"]