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

13 lines
240 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 ["live-server --port=2010 --entry-file=./index.html"]