Skip to content

Commit

Permalink
simplify Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Sep 30, 2023
1 parent 172fcb0 commit 5d306e0
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
FROM oven/bun

WORKDIR /app

EXPOSE 3000

ENV PUBLIC_KEY $PUBLIC_KEY
ENV PORT $PORT

COPY bun.lockb ./
RUN bun install

COPY . .

CMD [ "bun", "index.ts" ]
RUN bun install
ENTRYPOINT [ "bun", "./index.ts" ]

0 comments on commit 5d306e0

Please sign in to comment.