chad/client/Dockerfile
Никита Круглицкий c0898d0df2
Some checks failed
Deploy / server (push) Successful in 4m5s
Deploy / client (push) Failing after 36s
#2, #3 update
2025-10-01 21:31:16 +06:00

17 lines
263 B
Docker

FROM node:lts-alpine AS builder
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
FROM nginx:stable-alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]