Minimizing Dockerfile. 1.1.13

This commit is contained in:
Hexagon 2017-01-17 22:50:05 +01:00
parent 799b6c5b84
commit ddd1005141
3 changed files with 5 additions and 5 deletions

View File

@ -1,8 +1,7 @@
FROM node:alpine
RUN mkdir -p /usr/src/app/public
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN npm install
RUN npm install && \
npm cache clean
EXPOSE 8080
RUN chmod +x /usr/src/app/docker-entrypoint.sh
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh", "npm", "start"]
ENTRYPOINT ["/usr/src/app/docker-entrypoint.sh", "npm", "start"]

View File

@ -3,5 +3,6 @@
set -e
cp -R /usr/src/app/public/* /usr/src/app/external-public/
cd /usr/src/app
exec "$@"

View File

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