15 lines
294 B
Docker
15 lines
294 B
Docker
|
FROM httpd:alpine
|
||
|
|
||
|
# Copy the default landing page to the container
|
||
|
COPY index.html /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"]
|
||
|
|