alekswilc afdc700a64
All checks were successful
Build simrail.pro / build (push) Successful in 39s
fix(): fix nginx
2025-03-04 15:35:54 +01:00

13 lines
253 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN yarn
COPY . .
RUN yarn add -D vite
RUN yarn global add live-server
RUN yarn rawbuild
EXPOSE 80
WORKDIR /app/dist
CMD ["yarn", "live-server", "--port=80", " --entry-file=./index.html"]