From 60b24afdbf9ea7d5751540e8e58cfde2df118005 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Sat, 14 Jan 2017 23:45:13 +0100 Subject: [PATCH] Make public/ a docker volume, 1.1.6 ... so that another server can host the static files. --- Dockerfile | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4ff46c1..ddf5b3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM node:alpine RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY . /usr/src/app +VOLUME /usr/src/app/public RUN npm install EXPOSE 8080 CMD [ "npm", "start" ] diff --git a/package.json b/package.json index c8020ce..a0908ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "cryptalk", - "version" : "1.1.5", + "version" : "1.1.6", "description" : "Encrypted HTML5/Node.JS instant chat", "main" : "server.js", "subdomain": "cryptalk",