Files
vaishnavi-ecommerce-website/Dockerfile
tusuii bb5dfe4e23
Some checks failed
ecommerce frontend/pipeline/head Something is wrong with the build of this commit
added k8s files and manifests files
2026-03-10 22:41:08 +05:30

17 lines
238 B
Docker

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