added k8s files and manifests files
Some checks failed
ecommerce frontend/pipeline/head Something is wrong with the build of this commit
Some checks failed
ecommerce frontend/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user