mirror of
https://github.com/exzork/gc-tools.git
synced 2024-11-22 07:08:12 +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