Revamped build process
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user