nginx-nextcloud/build-common/dockerfile/Dockerfile

11 lines
320 B
Docker
Raw Permalink Normal View History

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