Update Dockerfile

Trying a different approach, copying the src folder and other individual files
This commit is contained in:
Gordon Pedersen 2023-11-12 23:45:02 +00:00
parent 0a8535fed9
commit 14a118d887

View file

@ -1,11 +1,13 @@
FROM oven/bun:latest FROM oven/bun:latest
WORKDIR /app/ WORKDIR /app
COPY ./package.json /app/ COPY ./package.json /app
COPY ./bun.lockb /app/ COPY ./bun.lockb /app
RUN bun install RUN bun install
ADD ./* /app/ COPY ./actor.ts /app
COPY ./tsconfig.json /app
COPY ./src /app/src
CMD [ "bun", "run", "/app/src/index.ts"] CMD [ "bun", "run", "/app/src/index.ts"]