mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Merge 28ee123412 into 9453c8c0c9
This commit is contained in:
commit
fcb0f69631
4 changed files with 18 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:24-bookworm as builder
|
||||
FROM node:24-bookworm AS builder
|
||||
|
||||
ENV CI=true
|
||||
|
||||
|
|
@ -6,17 +6,20 @@ ENV CI=true
|
|||
WORKDIR /app
|
||||
|
||||
# Copy package files first for better caching
|
||||
COPY packages/safe-chain/package*.json ./
|
||||
COPY packages/safe-chain/package.json ./packages/safe-chain/package.json
|
||||
COPY ./package.json ./package.json
|
||||
COPY ./npm-shrinkwrap.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
RUN npm ci
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY packages/safe-chain ./
|
||||
COPY packages/safe-chain ./packages/safe-chain
|
||||
|
||||
# Build the application
|
||||
RUN npm --no-git-tag-version version 1.0.0 --allow-same-version
|
||||
RUN npm pack
|
||||
RUN npm --no-git-tag-version version 1.0.0 --allow-same-version --workspace=packages/safe-chain
|
||||
RUN cp ./npm-shrinkwrap.json packages/safe-chain/
|
||||
RUN npm pack --workspace=packages/safe-chain
|
||||
|
||||
FROM buildpack-deps:trixie
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue