make expose directly executable in the docker container (#149)

This commit is contained in:
Merkhad Luigton
2020-11-01 13:47:21 -03:00
committed by GitHub
parent 538c7da446
commit 8b8426cd3b

View File

@@ -21,3 +21,4 @@ ENV password=password
ENV exposeConfigPath=/src/config/expose.php
CMD sed -i "s|username|${username}|g" ${exposeConfigPath} && sed -i "s|password|${password}|g" ${exposeConfigPath} && php expose serve ${domain} --port ${port} --validateAuthTokens
ENTRYPOINT ["/src/expose"]