mirror of
https://github.com/omg-xtao/gc-tools.git
synced 2024-11-21 14:48:34 +00:00
forgot that i use yarn
This commit is contained in:
parent
9626a08c9f
commit
a7a026b689
@ -1,9 +1,8 @@
|
||||
FROM node:18-slim
|
||||
ADD . /gc_tools
|
||||
WORKDIR /gc_tools
|
||||
RUN npm install
|
||||
RUN npm install -g serve
|
||||
RUN npm run build
|
||||
CMD ["npm","install","-g","serve"]
|
||||
RUN ["yarn", "install"]
|
||||
RUN ["yarn", "run", "build"]
|
||||
CMD ["yarn","add","serve"]
|
||||
CMD ["serve", "-s", "build"]
|
||||
EXPOSE 3000
|
Loading…
Reference in New Issue
Block a user