Initial commit

This commit is contained in:
2022-01-08 17:41:12 +01:00
commit 12a5ea3132
30 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM debian:11-slim
RUN apt-get update && apt-get install -y apache2 \
curl \
&& apt-get clean
ADD --chown=www-data:www-data \
http://jackbenny.se/docs/hej-docker.html \
/var/www/html/index.html
EXPOSE 80/tcp
HEALTHCHECK --interval=30s --timeout=3s \
--start-period=30s \
CMD curl -f http://localhost || exit 1
CMD ["apache2ctl", "-D", "FOREGROUND"]