Skip to content

Commit

Permalink
Use bundle instead of rackup as entrypoint command
Browse files Browse the repository at this point in the history
  • Loading branch information
tomohiro committed Jan 6, 2020
1 parent 82dcb3e commit 735f4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ WORKDIR /usr/src/app
COPY . .

EXPOSE 8080
ENTRYPOINT ["rackup"]
CMD ["--host", "0.0.0.0", "-p", "8080"]
ENTRYPOINT ["bundle"]
CMD ["exec", "rackup", "--host", "0.0.0.0", "-p", "8080"]

0 comments on commit 735f4fa

Please sign in to comment.