yjs-bpmn-frontend/Dockerfile
Круглицкий Никита Витальевич a95cbfbfdc
All checks were successful
Deploy / build (push) Successful in 42s
deploy
2025-11-21 08:49:51 +06:00

21 lines
336 B
Docker

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