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
|
RUN mkdir -p /usr/src/app
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . /usr/src/app
|
COPY . /usr/src/app
|
||||||
|
VOLUME /usr/src/app/public
|
||||||
RUN npm install
|
RUN npm install
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name" : "cryptalk",
|
"name" : "cryptalk",
|
||||||
"version" : "1.1.5",
|
"version" : "1.1.6",
|
||||||
"description" : "Encrypted HTML5/Node.JS instant chat",
|
"description" : "Encrypted HTML5/Node.JS instant chat",
|
||||||
"main" : "server.js",
|
"main" : "server.js",
|
||||||
"subdomain": "cryptalk",
|
"subdomain": "cryptalk",
|
||||||
|
|
Loading…
Reference in New Issue