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:
parent
1d596261a5
commit
586b885473
@ -9,8 +9,8 @@ ADD mattermost /etc/nginx/sites-available/
|
|||||||
ADD docker-entry.sh /
|
ADD docker-entry.sh /
|
||||||
|
|
||||||
RUN mkdir /cert
|
RUN mkdir /cert
|
||||||
ADD cert/cert.pem /cert
|
ADD cert/cert.pem /cert/
|
||||||
ADD cert/private/key-no-password.pem /cert
|
ADD cert/private/key-no-password.pem /cert/
|
||||||
|
|
||||||
RUN chmod +x /docker-entry.sh
|
RUN chmod +x /docker-entry.sh
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user