Skip to content

Commit 7196fed

Browse files
committed
fix: Revert dockerfile completely
1 parent 76ae134 commit 7196fed

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

Dockerfile

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
FROM oven/bun:1.3.12-alpine AS base
2-
3-
FROM base AS builder
4-
WORKDIR /build
5-
COPY package.json bun.lock ./
6-
RUN bun install --frozen-lockfile
1+
FROM oven/bun AS base
2+
WORKDIR /app
3+
COPY package.json package.json
4+
COPY bun.lock bun.lock
5+
RUN bun install --production --ignore-scripts
76
COPY . .
8-
RUN bun run build
9-
10-
FROM base
11-
COPY --from=builder /build/.output/server server
12-
RUN adduser -D app
13-
USER app
14-
ENTRYPOINT ["/server"]
7+
ENTRYPOINT ["bun", "src/main.ts"]

0 commit comments

Comments
 (0)