refactor: update Dockerfile
This commit is contained in:
parent
a1192fe7e3
commit
2a519248fd
3
.github/workflows/docker-image-ci.yml
vendored
3
.github/workflows/docker-image-ci.yml
vendored
@ -5,6 +5,9 @@ on:
|
||||
tags:
|
||||
- v*
|
||||
|
||||
# 这个选项可以使你手动在 Action tab 页面触发工作流
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user