Skip to content

Commit 0fa5fb6

Browse files
committed
fix dockerfile for ui
1 parent f87d3f0 commit 0fa5fb6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

web/Dockerfile.app

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ 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
7+
# Install pnpm globally
8+
RUN npm install -g pnpm@latest
149

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

18-
# Copy the rest of the application
19-
COPY web/client/ /app/web/client/
16+
# Copy all source files
17+
COPY web/client/ ./web/client/
18+
COPY vscode/extension/ ./vscode/extension/
19+
COPY vscode/bus/ ./vscode/bus/
2020

2121
# Install dependencies
2222
RUN pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)