Skip to content

Commit 81e1abd

Browse files
committed
Fix Dockerfile, dont use ENTRYPOINT, use CMD rather
CMD commands are ignored by the daemon when there are parameters stated within the docker run command while ENTRYPOINT instructions are not ignored but instead are appended as command line parameters by treating those as arguments of the command. https://devtron.ai/blog/cmd-and-entrypoint-differences/
1 parent 971b5f6 commit 81e1abd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ RUN bun run build
2020
RUN mkdir -p .next
2121

2222
EXPOSE 3000/tcp
23-
# RUN bun db:migrate
24-
ENTRYPOINT [ "bun", "run", "start" ]
23+
CMD ["bun", "run", "start"]

0 commit comments

Comments
 (0)