1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-06 14:33:14 +00:00

Sync local time with container by mounting volume

This commit is contained in:
2016-01-22 03:41:31 +00:00
parent c9a425d959
commit d011c1c3b6
3 changed files with 3 additions and 4 deletions

View File

@@ -9,4 +9,4 @@ docker kill $1
docker rm $1
docker build -t $1 -f rails-prod-Dockerfile .
docker run --name $1 -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE $1 bundle exec rake jobs:work RAILS_ENV=production
docker run --name $1 -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE -v /etc/localtime:/etc/localtime $1 bundle exec rake jobs:work RAILS_ENV=production