Skip to content

Commit

Permalink
dockerfile执行命令调整
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorlg committed Apr 26, 2023
1 parent 0b2dd9e commit 09e59ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ RUN npm install pnpm -g

WORKDIR /app

COPY ./package.json /app
COPY . /app

RUN pnpm install

COPY . /app

RUN pnpm run build

# 运行生产应用程序
Expand Down

0 comments on commit 09e59ed

Please sign in to comment.