Add Dockerfile
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
FROM debian:bookworm-slim
|
||||
RUN apt-get update && apt-get install -y \
|
||||
php \
|
||||
apache2 \
|
||||
libapache2-mod-php \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
COPY . /var/www/html
|
||||
RUN rm -f /var/www/html/index.html
|
||||
EXPOSE 80
|
||||
CMD ["apache2ctl", "-D", "FOREGROUND"]
|
||||
Reference in New Issue
Block a user