initial version
This commit is contained in:
commit
4691f4ea9e
12 changed files with 1479 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM oven/bun:canary-debian AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ADD package.json .
|
||||
RUN bun install
|
||||
|
||||
ADD . .
|
||||
|
||||
RUN bun build index.ts --compile
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/index /app/index
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["/app/index"]
|
Loading…
Add table
Add a link
Reference in a new issue