diff --git a/Dockerfile b/Dockerfile index edd3aaf..797b5e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ EXPOSE 25 VOLUME ["/var/mail"] # Start the STMP server without a GUI (background) -CMD java -jar /opt/fakeSMTP.jar --background --port 25 --output-dir /var/mail +CMD ["java", "-jar", "/opt/fakeSMTP.jar", "--background", "--port", "25", "--output-dir", "/var/mail"]