Logo
Explore Help
Register Sign In
cloud-hosting-platform/whp-default-container
3
0
Fork 0
You've already forked whp-default-container
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
whp-default-container/Dockerfile

15 lines
294 B
Docker
Raw Normal View History

Initial setup: Web hosting default container with auto-landing page - 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.
2025-07-12 11:03:43 -07:00
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 Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 15ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API