deploy
All checks were successful
Deploy / build (push) Successful in 1m14s

This commit is contained in:
Никита Круглицкий
2025-11-20 21:18:16 +06:00
parent e53c007293
commit 7944db21f2
3 changed files with 56 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json yarn.lock ./
RUN yarn install
COPY . .
RUN yarn build
FROM nginx:stable-alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]