Corrected usage RUN (instead of CMD)

This commit is contained in:
Stefan H 2020-08-01 16:55:03 +02:00 committed by GitHub
parent 1a2d890cf4
commit 0c5663a34d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ RUN apt-get update
RUN apt-get install -y librsvg2-bin
# enable postfix to be able to send mails
CMD ["/opt/docker/bin/usr-bin/docker-service-enable", "postfix"]
CMD ["mkfifo", "/var/spool/postfix/public/pickup"]
RUN /opt/docker/bin/usr-bin/docker-service-enable postfix
RUN mkfifo /var/spool/postfix/public/pickup
RUN service postfix restart
#restart apache