This commit is contained in:
sheng
2023-07-25 15:25:57 +08:00
parent 8f57a240db
commit 7ccbcebe77
373 changed files with 41578 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
FROM node:16.19-alpine
WORKDIR /web/
COPY web/. .
RUN yarn install
RUN yarn build
FROM nginx:alpine
COPY ./docker_env/nginx/my.conf /etc/nginx/conf.d/my.conf
COPY --from=0 /web/dist /usr/share/nginx/html

View File

@@ -0,0 +1,4 @@
FROM node:16.19-alpine
WORKDIR /
COPY ./web/package.json .
RUN npm install -g yarn