exemple dockerfile
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal 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
|
Reference in New Issue
Block a user