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

This commit is contained in:
Круглицкий Никита Витальевич 2025-11-21 08:48:15 +06:00
parent 887cb65533
commit c6be6eb912

View File

@ -6,10 +6,15 @@ RUN yarn install
COPY . . COPY . .
RUN yarn build RUN yarn build
FROM nginx:stable-alpine RUN npm install -g serve
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
CMD ["serve", "-s /app/dist", "-l 80"]
CMD ["nginx", "-g", "daemon off;"] #
#FROM nginx:stable-alpine
#
#COPY --from=build /app/dist /usr/share/nginx/html
#
#EXPOSE 80
#
#CMD ["nginx", "-g", "daemon off;"]