All checks were successful
WHP Default Container / Build-and-Push (push) Successful in 11s
15 lines
340 B
Docker
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"]
|
|
|