Skip to content

Commit

Permalink
refactor: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zyronon committed May 1, 2024
1 parent a1192fe commit 2a51924
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/docker-image-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- v*

# 这个选项可以使你手动在 Action tab 页面触发工作流
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable

WORKDIR /src
COPY ./ ./
COPY ./ /src

# RUN两次方便观察install和build, 也可以用pnpm cache and locked
RUN pnpm install
Expand Down

0 comments on commit 2a51924

Please sign in to comment.