Skip to content

Commit edf50d0

Browse files
committed
Remove the pid file before run the rails server
1 parent 821e0ad commit edf50d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
- ./tmp/db:/var/lib/postgresql/data:rw
77
web:
88
build: .
9-
command: bundle exec rails s -p 3000 -b '0.0.0.0'
9+
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
1010
volumes:
1111
- .:/WebsiteOne
1212
ports:

0 commit comments

Comments
 (0)