Merge pull request 'fix(): fix nginx' (#104) from feat-1 into main
Some checks failed
Build simrail.pro / build (push) Failing after 23s
Some checks failed
Build simrail.pro / build (push) Failing after 23s
Reviewed-on: #104
This commit is contained in:
commit
3143ce1058
@ -1,12 +1,17 @@
|
||||
FROM node:22-alpine
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN yarn
|
||||
COPY . .
|
||||
RUN yarn add -D vite
|
||||
RUN yarn global add live-server
|
||||
RUN yarn rawbuild
|
||||
|
||||
RUN npm install
|
||||
RUN npm install --dev vite
|
||||
RUN npm install -g live-server
|
||||
|
||||
RUN npm run rawbuild
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 80
|
||||
WORKDIR /app/dist
|
||||
CMD ["yarn", "start"]
|
||||
|
||||
CMD ["npm", "start"]
|
Loading…
x
Reference in New Issue
Block a user