Fixing docker entrypoint, 1.1.10
This commit is contained in:
parent
dc1e7091f3
commit
7dc1d385ab
|
@ -5,6 +5,4 @@ COPY . /usr/src/app
|
|||
RUN npm install
|
||||
EXPOSE 8080
|
||||
RUN chmod +x /usr/src/app/docker-entrypoint.sh
|
||||
COPY /usr/src/app/docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD [ "npm", "start"]
|
||||
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh", "npm", "start"]
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -e '/usr/src/app/external-public/index.html' ]; then
|
||||
cp -R /usr/src/app/public /usr/src/app/external-public
|
||||
chown -R www-data /usr/src/app/external-public
|
||||
fi
|
||||
cp -R /usr/src/app/public/* /usr/src/app/external-public/
|
||||
|
||||
exec "$@"
|
||||
exec "$@"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name" : "cryptalk",
|
||||
"version" : "1.1.9",
|
||||
"version" : "1.1.10",
|
||||
"description" : "Encrypted HTML5/Node.JS instant chat",
|
||||
"main" : "server.js",
|
||||
"subdomain": "cryptalk",
|
||||
|
|
Loading…
Reference in New Issue