BUT2/DEV/Docker/TP03/dockerfile

15 lines
386 B
Plaintext
Raw Normal View History

2024-02-26 20:37:20 +01:00
FROM httpd:alpine3.19
RUN apk add --no-cache apache2
LABEL MAINTAINER = "ALEXIS" \
VERSION = "1.8" \
TP = "3"
COPY ./dayScheduler /usr/local/apache2/htdocs/
RUN sed -i 's/Work Day Scheduler/schnur/g' /usr/local/apache2/htdocs/index.html
ENV SCHOOL=IUT \
LEVEL=1.8
HEALTHCHECK --interval=1m --timeout=1s \
CMD curl -f http://localhost/ || exit 1
EXPOSE 8080