diff --git a/Dockerfile b/Dockerfile index f064d95..4feb3ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,12 @@ # Utiliser une image de base debian -FROM debian:12 +FROM image: alpine:3.20.2 # Installation des paquets nécéssaire au bon fonctionnement du Docker -RUN apt-get update -RUN apt-get install -y bind nano wget +RUN apk update +RUN apk add bind nano wget # Installation des paquets recommander au bon fonctionnement du Docker -RUN apt-get install -y curl net-tools apache2 btop +RUN apk add curl net-tools apache2 btop nano - -CMD ["/usr/sbin/sshd", "-D"] - -RUN touch /opt/test/healthly.txt \ No newline at end of file +#Garde le conteneur en vie +CMD ["tail -f /dev/null"] \ No newline at end of file