11 lines
320 B
Docker
11 lines
320 B
Docker
# 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 |