Add updater container (spannend hoor)

This commit is contained in:
Peter Smit
2025-01-16 16:26:39 +01:00
parent da506f46a5
commit 09d79f6587
6 changed files with 99 additions and 3 deletions

16
updater/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# Use the official PHP image with Apache
FROM php:8.1-apache
# Install git and docker-compose
RUN apt-get update && \
apt-get install -y git docker-compose && \
rm -rf /var/lib/apt/lists/*
# Copy the PHP file to the Apache document root
COPY webhook.php /var/www/html/index.php
# Expose port 80
EXPOSE 80
# Start Apache server
CMD ["apache2-foreground"]