#2, #3 update
Some checks failed
Deploy / server (push) Successful in 4m5s
Deploy / client (push) Failing after 36s

This commit is contained in:
Никита Круглицкий
2025-10-01 21:31:16 +06:00
parent 6110a17533
commit c0898d0df2
5 changed files with 66 additions and 4 deletions

17
client/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
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;"]