Skip to content

Commit 3b15cd1

Browse files
committed
faster build
1 parent ac98df8 commit 3b15cd1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

basket.Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
FROM oven/bun:1.3.4-debian AS build
1+
FROM oven/bun:1.3.4-slim AS build
22

33
WORKDIR /app
44

5-
RUN apt-get update && apt-get install -y \
6-
python3 \
7-
make \
8-
g++ \
9-
&& rm -rf /var/lib/apt/lists/*
10-
115
COPY package.json package.json
126
COPY apps/basket/package.json ./apps/basket/package.json
137
COPY packages/*/package.json ./packages/
148

159
COPY packages/ ./packages/
1610

17-
RUN bun install
11+
RUN bun install --ignore-scripts
1812

1913
COPY apps/basket/src ./apps/basket/src
2014
COPY apps/basket/tsconfig.json ./apps/basket/tsconfig.json

0 commit comments

Comments
 (0)