Initial Commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
FROM oven/bun:alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bun.lock ./
|
||||
COPY patches/ ./patches
|
||||
RUN --mount=type=cache,target=/root/.bun/install/cache bun i --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN bun run build
|
||||
|
||||
FROM oven/bun:alpine AS runner
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/server /app/
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["./server"]
|
||||
Reference in New Issue
Block a user