Skip to content

Commit

Permalink
Fix docker signal issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Jan 10, 2024
1 parent 4da9acf commit 139bd28
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -48,4 +48,4 @@ USER nobody:nogroup

EXPOSE 3000
ENV PORT=3000
ENTRYPOINT ["bin/server"]
ENTRYPOINT ["bundle", "exec", "puma", "-C", "config/puma.rb"]
2 changes: 1 addition & 1 deletion bin/server
Expand Up @@ -3,4 +3,4 @@
# export RUBYOPT="--jit --jit-verbose=1"
export PORT=${PORT-3000}
echo http://localhost:$PORT/
bundle exec puma -C config/puma.rb "$@"
exec bundle exec puma -C config/puma.rb "$@"
1 change: 0 additions & 1 deletion docker-compose.yml
Expand Up @@ -4,7 +4,6 @@ version: "3"
services:
web:
build: .
entrypoint: bin/server
environment:
- PORT=3000
- REDIS_URL=redis://redis:6379/3
Expand Down

0 comments on commit 139bd28

Please sign in to comment.