refactor: update Dockerfile

This commit is contained in:
zyronon 2024-05-01 20:59:53 +08:00
parent a1192fe7e3
commit 2a519248fd
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ on:
tags: tags:
- v* - v*
# 这个选项可以使你手动在 Action tab 页面触发工作流
workflow_dispatch:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -6,7 +6,7 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable RUN corepack enable
WORKDIR /src WORKDIR /src
COPY ./ ./ COPY ./ /src
# RUN两次方便观察install和build, 也可以用pnpm cache and locked # RUN两次方便观察install和build, 也可以用pnpm cache and locked
RUN pnpm install RUN pnpm install