frontend/Dockerfile
nquidox a811644585
All checks were successful
/ Make image (push) Successful in 51s
update
2025-10-26 21:43:40 +03:00

20 lines
No EOL
322 B
Docker

FROM node:24.10-alpine3.22 AS builder
WORKDIR /app
RUN apk add --no-cache python3 make g++ libc6-compat
COPY package*.json ./
RUN npm ci --prefer-offline --no-audit
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist/ /usr/share/nginx/html/
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 9080