Support local timezone on alpine image

This commit is contained in:
Kim Hyun 2017-11-12 11:37:27 +09:00
parent a6e8fae7f5
commit f2fa86c605
2 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,8 @@ RUN apk add --no-cache --virtual .run-deps \
ca-certificates bash wget openssl \
&& update-ca-certificates
# Install timezone
RUN apk add --update --no-cache tzdata
# Configure Nginx and apply fix for very long server names
RUN echo "daemon off;" >> /etc/nginx/nginx.conf \

View file

@ -1,8 +1,8 @@
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
volumes:
@ -11,4 +11,4 @@ services:
whoami:
image: jwilder/whoami
environment:
- VIRTUAL_HOST=whoami.local
- VIRTUAL_HOST=whoami.local