Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
rails won't be up after running "docker-compose restart", see more details here: docker/compose#1393
  • Loading branch information
lyonsun committed Dec 13, 2016
1 parent 34bd44a commit 5edebf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -20,4 +20,4 @@ WORKDIR $APP_ROOT
COPY . $APP_ROOT

EXPOSE 3000
CMD ["rails", "server", "-b", "0.0.0.0"]
CMD rm -f tmp/pids/server.pid && rails s -b '0.0.0.0'

0 comments on commit 5edebf6

Please sign in to comment.