mirror of
https://github.com/omg-xtao/gc-tools.git
synced 2024-11-21 22:58:25 +00:00
9 lines
186 B
Docker
9 lines
186 B
Docker
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"]
|
|
CMD ["serve", "-s", "build"]
|
|
EXPOSE 3000 |