Add trailing backslash to fix "not a directory" error

Running this Dockerfile on Fedora 22 throws a "not a directory" error when it reaches "ADD cert/cert.pem /cert". Adding a backslash to the path resolves the issue.
This commit is contained in:
Frank Maker 2016-01-05 11:34:08 -08:00
parent 1d596261a5
commit 586b885473

View File

@ -9,8 +9,8 @@ ADD mattermost /etc/nginx/sites-available/
ADD docker-entry.sh /
RUN mkdir /cert
ADD cert/cert.pem /cert
ADD cert/private/key-no-password.pem /cert
ADD cert/cert.pem /cert/
ADD cert/private/key-no-password.pem /cert/
RUN chmod +x /docker-entry.sh