Minor fix

This commit is contained in:
Hexagon 2017-12-04 22:12:04 +01:00
parent 4fff368db7
commit 94ae46ee9a
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,10 @@
set -e
mkdir /usr/src/app/external-public/
cp -R /usr/src/app/public/* /usr/src/app/external-public/
# /usr/src/app/external-public kan be mounted as a volume on host to expose
# statics to be hosted by host nginx
if [ -d /usr/src/app/external-public ]; then
cp -R /usr/src/app/public/* /usr/src/app/external-public/
fi
exec "$@"

View File

@ -1,6 +1,6 @@
{
"name" : "cryptalk",
"version" : "1.1.18",
"version" : "1.1.19",
"description" : "Encrypted HTML5/Node.JS instant chat",
"main" : "server.js",
"subdomain": "cryptalk",