forgot that i use yarn

This commit is contained in:
muhammadeko 2022-04-30 13:53:17 +07:00
parent 9626a08c9f
commit a7a026b689
No known key found for this signature in database
GPG Key ID: 51366716C10E98B1

View File

@ -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