This commit is contained in:
parent
191f13bd19
commit
0f04eed106
@ -2,7 +2,6 @@ FROM alpine:3.10
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
|
||||
org.label-schema.name="Nginx" \
|
||||
org.label-schema.version="1.2" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
@ -21,9 +20,9 @@ RUN addgroup -g 101 -S nginx && \
|
||||
chown -R nginx /var/log/nginx && \
|
||||
mkdir -p /var/cache/nginx && \
|
||||
chown -R nginx /var/cache/nginx && \
|
||||
chmod -R 750 /var/cache/nginx && \
|
||||
chmod -R 750 /var/cache/nginx && \
|
||||
chown -R nginx:nginx /var/www && \
|
||||
chmod -R 750 /var/www && \
|
||||
chmod -R 750 /var/www && \
|
||||
apk del .build-deps && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /tmp/*
|
||||
|
Loading…
Reference in New Issue
Block a user