Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Dec 4, 2017
1 parent 4fff368 commit 94ae46e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 94ae46e

Please sign in to comment.