Commit 31ee5bbc authored by duanjinfei's avatar duanjinfei

update docker file

parent c31bca79
......@@ -12,12 +12,14 @@ WORKDIR /build
RUN git clone https://code.wuban.net.cn/odysseus/power-node && \
git clone https://code.wuban.net.cn/odysseus/odysseus-protocol
RUN cd /build/power-node && sh start.sh && cp powerNode /powerNode
RUN cd /build/power-node && sh start.sh && cp powerNode /powerNode && cp config.json /config.json && makdir /conf && cp conf/app.conf /conf/app.conf
FROM alpine
WORKDIR /root
COPY --from=build /powerNode /usr/bin/powerNode
COPY --from=build /config.json /usr/bin/config.json
COPY --from=build /conf /usr/bin/conf
ENTRYPOINT [ "powerNode" ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment