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

This commit is contained in:
Merkhad Luigton authored and GitHub committed 2020-11-01 17:47:21 +01:00
1 parent 538c7da446
commit 8b8426cd3b
1 file changed
+1
+1
View File
@@ -21,3 +21,4 @@ ENV password=password
ENV exposeConfigPath=/src/config/expose.php 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 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"]