mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
add pnpm install to alpine image
This commit is contained in:
parent
8629994eb6
commit
fa93dfd771
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ WORKDIR /app
|
||||||
# Copy package.json first to cache node_modules
|
# Copy package.json first to cache node_modules
|
||||||
COPY package.json pnpm-lock.yaml .
|
COPY package.json pnpm-lock.yaml .
|
||||||
|
|
||||||
|
RUN npm install -g pnpm
|
||||||
|
|
||||||
RUN pnpm install
|
RUN pnpm install
|
||||||
|
|
||||||
# Copy code and build with cached modules
|
# Copy code and build with cached modules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue