15 lines
365 B
Docker
15 lines
365 B
Docker
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 |