fix Dockerfile

This commit is contained in:
afrokick 2019-04-01 16:43:45 +03:00
parent 86882a74f0
commit a528867a2f

View File

@ -3,8 +3,9 @@ RUN mkdir /peer-server
WORKDIR /peer-server WORKDIR /peer-server
COPY package.json . COPY package.json .
COPY src ./src COPY src ./src
COPY config ./config
COPY app.json . COPY app.json .
RUN npm install RUN npm install
EXPOSE 9000 EXPOSE 9000
ENTRYPOINT ["node", "index.js"] ENTRYPOINT ["node", "./src/index.js"]
CMD [ "--port", "9000" ] CMD [ "--port", "9000" ]