exemple dockerfile

This commit is contained in:
2024-03-24 19:50:53 +01:00
parent cc92379958
commit 9335a9f50b
7 changed files with 235 additions and 1 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM httpd:alpine3.17
LABEL maintainer="Tom Moguljak"
LABEL version="1.8"
LABEL tp="3"
COPY ./dayScheduler/ /usr/local/apache2/htdocs/
RUN sed -i 's/Work Day Scheduler/Tom Moguljak/g' /usr/local/apache2/htdocs/index.html
ENV school="IUT"
ENV level="1.8"
HEALTHCHECK --interval=1m --timeout=1s \
CMD curl --fail http://localhost:80/ || exit 1