Skip to content

Commit c26e109

Browse files
authored
fix: dockerfile for UI (#4697)
1 parent f87d3f0 commit c26e109

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

web/Dockerfile.app

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@ WORKDIR /app
44

55
RUN apt-get update && apt-get -y install libnss3 libatk-bridge2.0-0 libdrm-dev libxkbcommon-dev libgbm-dev libasound-dev libatspi2.0-0 libxshmfence-dev
66

7-
# Copy package files for workspaces
8-
COPY package.json /app/package.json
9-
COPY pnpm-lock.yaml /app/pnpm-lock.yaml
10-
COPY pnpm-workspace.yaml /app/pnpm-workspace.yaml
11-
COPY web/client/package.json /app/web/client/package.json
12-
COPY vscode/extension/package.json /app/vscode/extension/package.json
13-
COPY vscode/bus/package.json /app/vscode/bus/package.json
14-
15-
RUN npm install -g pnpm@latest && \
16-
pnpm install --frozen-lockfile
7+
# Install pnpm globally
8+
RUN npm install -g pnpm@latest
179

18-
# Copy the rest of the application
19-
COPY web/client/ /app/web/client/
10+
# Copy package files for workspaces
11+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
12+
COPY web/client/package.json ./web/client/
2013

2114
# Install dependencies
2215
RUN pnpm install --frozen-lockfile
16+
17+
# Copy source files (excluding node_modules which were installed above)
18+
COPY web/client/ ./web/client/

0 commit comments

Comments
 (0)