Add updater container (spannend hoor)
This commit is contained in:
16
updater/Dockerfile
Normal file
16
updater/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user