Skip to content

Commit

Permalink
fix: 需要先build server
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Oct 13, 2023
1 parent 64eb019 commit 9e9f2ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci

COPY client ./client
RUN npm run build:client
COPY src ./src
COPY tsconfig.* nest-cli.json ./
RUN npm run build:server
COPY client ./client
RUN npm run build:client


FROM $BASE_IMAGE AS dependencies
Expand Down

0 comments on commit 9e9f2ce

Please sign in to comment.