diff --git a/Dockerfile b/Dockerfile index b300ec7..436cac5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,5 +64,11 @@ RUN chown filter /home/filter/*; chmod a+rx /home/filter/* # pour le confort : modif du .bashrc de root RUN sed -i 's/# alias/alias/g' /root/.bashrc -ENTRYPOINT ["/home/filter/server"] +RUN mkdir /var/log/mail ; chmod a+wrx /var/log/mail + EXPOSE 8080 +VOLUME [ "/var/log/mail" ] +ENTRYPOINT [ "/home/filter/server" ] + +#HEALTHCHECK --interval=10s --timeout=5s --start-period=20s \ +# CMD XXX || exit 1