Skip to content

Commit e104559

Browse files
committed
build(docker): standardize Dockerfile and .dockerignore
Add --frozen-lockfile to bun install, pin base image tags, add missing EXPOSE directives, and standardize .dockerignore entries.
1 parent 0c301b0 commit e104559

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

.dockerignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
node_modules
2+
.git
3+
.env*
4+
!.env.production
5+
!.env.local.template
6+
dist
7+
build
8+
.output
9+
target
10+
*.log
11+
.turbo
12+
coverage
13+
.nyc_output

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKDIR /app
66
# Build
77
FROM base AS builder
88
COPY package.json bun.lock* ./
9-
RUN bun install
9+
RUN bun install --frozen-lockfile
1010
COPY . .
1111
RUN bun run build
1212

0 commit comments

Comments
 (0)