dockerfile for zeit now
This commit is contained in:
parent
1db3e6eee9
commit
0eb8e47acf
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM mhart/alpine-node
|
||||||
|
RUN apk add nodejs nodejs-npm
|
||||||
|
RUN mkdir /peer-server
|
||||||
|
WORKDIR /peer-server
|
||||||
|
COPY package.json .
|
||||||
|
COPY bin ./bin
|
||||||
|
COPY lib ./lib
|
||||||
|
COPY app.json .
|
||||||
|
RUN npm install
|
||||||
|
EXPOSE 9000
|
||||||
|
CMD node bin/peerjs --port 9000
|
Loading…
x
Reference in New Issue
Block a user