1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-05 21:55:20 +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 -v /srv/docker/apache2/logs:/var/log/apache2 -p 80:80 -p 443:443 $1
docker run --name $1 -d --restart=always --env-file $WRESTLINGDEV_ENV_FILE -v /srv/docker/apache2/logs:/var/log/apache2 -v /etc/localtime:/etc/localtime -p 80:80 -p 443:443 $1