nginx-nextcloud/build-common/dockerfile/Dockerfile-bookworm

14 lines
410 B
Plaintext
Raw Normal View History

2024-06-03 12:27:43 +00:00
# retrieve the base image (default to latest).
ARG BASE_IMAGE="nginx:mainline-bookworm"
FROM ${BASE_IMAGE}
LABEL org.opencontainers.image.authors="Belman Kraul <bkraul@gmail.com>"
COPY conf/nginx.conf /etc/nginx/nginx.conf
RUN set -x ; \
usermod -u 82 www-data; \
groupmod -g 82 www-data && exit 0; exit 1
#addgroup -g 82 -S www-data ; \
#adduser -u 82 -D -S -G www-data www-data && exit 0 ; exit 1