Make public/ a docker volume, 1.1.6
... so that another server can host the static files.
This commit is contained in:
parent
2f86cffc6e
commit
60b24afdbf
|
@ -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" ]
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue