jknapp da058d92dc
All checks were successful
WHP Default Container / Build-and-Push (push) Successful in 11s
Remove the default index.html
2025-07-12 21:44:24 -07:00

15 lines
340 B
Docker

FROM httpd:alpine
# Copy the default landing page to the container
COPY index.html /index.html
RUN rm -f /usr/local/apache2/htdocs/index.html
# Copy the startup script
COPY scripts/startup.sh /startup.sh
# Make the startup script executable
RUN chmod +x /startup.sh
# Set the startup script as the entrypoint
ENTRYPOINT ["/startup.sh"]