Support local timezone on alpine image
This commit is contained in:
parent
a6e8fae7f5
commit
f2fa86c605
2 changed files with 4 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
nginx-proxy:
|
||||
image: jwilder/nginx-proxy
|
||||
container_name: nginx-proxy
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue