Explorar el Código

fix Dockerfile

afrokick hace 6 años
padre
commit
a528867a2f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

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