added k8s files and manifests files
Some checks failed
ecommerce frontend/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
tusuii
2026-03-10 22:41:08 +05:30
parent c504876102
commit bb5dfe4e23
5 changed files with 175 additions and 6 deletions

View File

@@ -1,17 +1,17 @@
FROM node:20
WORKDIR /vaishnaviecommerce
FROM mirror.gcr.io/library/node:20-bullseye-slim
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
ARG VITE_API_BASE_URL
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
RUN npm run build
EXPOSE 5173
CMD [ "npm", "run","preview" ]
CMD ["npm", "run", "preview"]