deploy
All checks were successful
Deploy / build (push) Successful in 59s

This commit is contained in:
Круглицкий Никита Витальевич 2025-11-21 08:54:53 +06:00
parent 86eac08cf9
commit 27277a8844

View File

@ -6,10 +6,12 @@ RUN yarn install
COPY . .
RUN yarn build
RUN npm install -g serve
EXPOSE 80
CMD ["serve /app/dist -p 80"]
FROM node:22-alpine
RUN npm i -g serve
WORKDIR /app
COPY --from=build /app/dist ./dist
CMD ["serve", "-s", "dist", "-p", "80"]
#
#FROM nginx:stable-alpine
#