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