Files
cv/Dockerfile
2025-08-20 14:18:59 +03:00

15 lines
246 B
Docker

FROM node:22-bullseye AS build
WORKDIR /app
COPY . .
RUN rm -rf node_modules package-lock.json
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]