I'm so dumb wtf - accident
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2023-06-25 11:13:49 -06:00
parent 5f436de1fe
commit 28505146de

View File

@ -7,9 +7,9 @@ FROM httpd:alpine
# Copy in our configuration files. # Copy in our configuration files.
COPY conf/ conf/ COPY conf/ conf/
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN chmod +x /usr/local/bin/docker-entrypoint.sh; \ RUN chmod +x /docker-entrypoint.sh; \
set -ex; \ set -ex; \
# Create empty default DocumentRoot. # Create empty default DocumentRoot.
mkdir -p "/var/www/html"; \ mkdir -p "/var/www/html"; \
@ -52,7 +52,6 @@ RUN chmod +x /usr/local/bin/docker-entrypoint.sh; \
# Install openssl if we need to generate a self-signed certificate. # Install openssl if we need to generate a self-signed certificate.
apk add --no-cache openssl apk add --no-cache openssl
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
EXPOSE 80/tcp 443/tcp EXPOSE 80/tcp 443/tcp
ENTRYPOINT [ "/usr/local/bin/docker-entrypoint.sh" ] ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "httpd-foreground" ] CMD [ "httpd-foreground" ]