Skip to content

Commit a73e796

Browse files
committed
chore: fix docker build
1 parent fcee9f4 commit a73e796

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.dockerignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
/node_modules
33
/.git
44
/.vscode
5-
/.github
5+
/.github
6+
/website
7+
/test
8+
/docs
9+
/dev

docker/Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ WORKDIR /app
77
# Copy package.json and package-lock.json
88
COPY package*.json ./
99

10-
# Install dependencies
11-
RUN npm install
10+
# Copy workspace package.json files for proper monorepo setup
11+
COPY packages/utils/package.json ./packages/utils/
12+
COPY packages/yasgui/package.json ./packages/yasgui/
13+
COPY packages/yasqe/package.json ./packages/yasqe/
14+
COPY packages/yasr/package.json ./packages/yasr/
15+
16+
# Install dependencies (skip puppeteer download to avoid network errors)
17+
ENV PUPPETEER_SKIP_DOWNLOAD=1
18+
RUN npm ci
1219

1320
# Copy the rest of the application code
1421
COPY . .

0 commit comments

Comments
 (0)