Skip to content

Commit 85244cd

Browse files
committed
tsconfig move source copy
1 parent 71fd6a8 commit 85244cd

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

browserbase/Dockerfile

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ FROM node:18-alpine AS builder
55
WORKDIR /app
66

77
# Copy package.json and package-lock.json
8-
COPY browserbase/package.json browserbase/package-lock.json ./
8+
COPY package*.json ./
9+
10+
# Copy TSConfig
11+
COPY tsconfig.json ./
12+
13+
# Copy the source code first
14+
COPY . .
915

1016
# Install dependencies
1117
RUN npm install
1218

13-
# Copy the rest of the application source code
14-
COPY browserbase/ .
15-
1619
# Build the TypeScript source code
1720
RUN npm run build
1821

0 commit comments

Comments
 (0)