Updated docker image

This commit is contained in:
2023-09-20 15:31:33 +07:00
parent 7738ea53f6
commit f0336999fd
2 changed files with 4 additions and 1 deletions

View File

@@ -2,11 +2,14 @@ FROM oven/bun AS build
WORKDIR /home/node/app WORKDIR /home/node/app
COPY . . COPY . .
RUN bun tsc RUN bun install
RUN bun run tsc
FROM oven/bun FROM oven/bun
WORKDIR /home/node/app WORKDIR /home/node/app
COPY . . COPY . .
RUN bun install
CMD [ "bun", "run", "src/index.ts"] CMD [ "bun", "run", "src/index.ts"]

BIN
bun.lockb

Binary file not shown.