From 14a118d887bf852257e4ebfab2df31ea14e06ed4 Mon Sep 17 00:00:00 2001 From: "death.au" Date: Sun, 12 Nov 2023 23:45:02 +0000 Subject: [PATCH] Update Dockerfile Trying a different approach, copying the src folder and other individual files --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b49ffb6..b8740e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,13 @@ FROM oven/bun:latest -WORKDIR /app/ +WORKDIR /app -COPY ./package.json /app/ -COPY ./bun.lockb /app/ +COPY ./package.json /app +COPY ./bun.lockb /app RUN bun install -ADD ./* /app/ +COPY ./actor.ts /app +COPY ./tsconfig.json /app +COPY ./src /app/src CMD [ "bun", "run", "/app/src/index.ts"] \ No newline at end of file