Fix nginx tmp permissions (probably because of a volume). #12
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
|
||||
|
||||
ARG VERSION=1.3.2
|
||||
ARG VERSION=1.3.3
|
||||
|
||||
ENV GID=991 UID=991
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user