Initial setup: Web hosting default container with auto-landing page
WHP Default Container / Build-and-Push (push) Successful in 11s
WHP Default Container / Build-and-Push (push) Successful in 11s
- Added Dockerfile with Apache base image - Created beautiful web hosting landing page (index.html) - Added startup script to check for content and copy default page - Set up Gitea workflow for automatic builds - Updated README with comprehensive documentation The container automatically provides a professional landing page when the web directory is empty, focusing on web hosting features and guiding users to configure their site through the Web Hosting Panel.
This commit is contained in:
1 parent
1660f54316
commit
eaeb64c3ed
5 files changed
+577
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
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"]
|
||||
|
||||
Reference in new issue
Block a user