Update Dockerfile
Trying a different approach, copying the src folder and other individual files
This commit is contained in:
parent
0a8535fed9
commit
14a118d887
1 changed files with 6 additions and 4 deletions
10
Dockerfile
10
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"]
|
Loading…
Reference in a new issue