change Dockerfile - npm install with production flag
This commit is contained in:
parent
1887a5a955
commit
a88d88c6f2
@ -4,7 +4,7 @@ WORKDIR /peer-server
|
||||
COPY bin ./bin
|
||||
COPY dist ./dist
|
||||
COPY package.json .
|
||||
RUN npm install
|
||||
RUN npm install --production
|
||||
EXPOSE 9000
|
||||
ENTRYPOINT ["node", "bin/peerjs"]
|
||||
CMD [ "--port", "9000", "--path", "/myapp" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user