This commit is contained in:
xiaojunnuo
2024-07-26 22:01:42 +08:00
parent e97dfb456b
commit 3408465df6
4 changed files with 16 additions and 6 deletions

View File

@@ -4,10 +4,10 @@ WORKDIR /workspace/
COPY . /workspace/
RUN npm install -g pnpm@8.15.7
RUN cd /workspace/certd-client && pnpm install && npm run build
#RUN cd /workspace/certd-client && pnpm install && npm run build
RUN cp /workspace/certd-client/dist/* /workspace/certd-server/public/ -rf
RUN cd /workspace/certd-server && pnpm install && npm run build-on-docker
RUN cp /workspace/certd-client/dist/* /workspace/certd-server/public/ -rf
FROM node:18-alpine
WORKDIR /app/