diff --git a/Dockerfile b/Dockerfile index 4d9e8e3..7b1e54b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest MAINTAINER Jeroen Geusebroek -ARG VERSION=1.3.2 +ARG VERSION=1.3.3 ENV GID=991 UID=991 diff --git a/entrypoint.sh b/entrypoint.sh index be3772b..3eee554 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,8 @@ #!/bin/sh +chmod o+rx /var/lib/nginx +chmod og+rx /var/lib/nginx/tmp + addgroup -g ${GID} privatebin && \ adduser -h /privatebin -H -s /bin/sh -D -G privatebin -u ${UID} privatebin