|
|
@ -7,8 +7,10 @@ FROM httpd:alpine
|
|
|
|
# Copy in our configuration files.
|
|
|
|
# Copy in our configuration files.
|
|
|
|
COPY conf/ conf/
|
|
|
|
COPY conf/ conf/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN apk --no-cache add shadow # add usermod/groupmod pkgs
|
|
|
|
RUN usermod -u 1000 www-data
|
|
|
|
RUN usermod -u 1000 www-data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN set -ex; \
|
|
|
|
RUN set -ex; \
|
|
|
|
# Create empty default DocumentRoot.
|
|
|
|
# Create empty default DocumentRoot.
|
|
|
|
mkdir -p "/var/www/html"; \
|
|
|
|
mkdir -p "/var/www/html"; \
|
|
|
|