Skip to content

Commit

Permalink
Merge pull request #19 from tminaorg/remove-tini
Browse files Browse the repository at this point in the history
fix: Removed tini from dockerimage
  • Loading branch information
aleksasiriski authored Nov 3, 2023
2 parents 346a38b + 560b574 commit 9e50071
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,11 @@
# use tini to add graceful shutdown
FROM debian:stable-slim as init
RUN apt-get -qq update \
&& apt-get -qq install -y tini

# use the official Bun image
# see all versions at https://hub.docker.com/r/oven/bun/tags
# copy production dependencies and source code into final image
FROM oven/bun:1 as base

WORKDIR /usr/src/app

COPY --from=init /usr/bin/tini /usr/bin/
COPY . .

EXPOSE 3000

# run the app
ENTRYPOINT [ "tini", "--" ]
CMD [ "bun", "run", "start" ]
ENTRYPOINT [ "bun" ]

CMD [ "run", "start" ]

0 comments on commit 9e50071

Please sign in to comment.