|
|
|
@ -24,7 +24,8 @@ RUN go mod tidy |
|
|
|
|
|
|
|
|
|
RUN make linux_static && \ |
|
|
|
|
cp ./bin/harmony /root/harmony && \ |
|
|
|
|
cp ./rosetta/infra/run.sh /root/run.sh |
|
|
|
|
cp ./rosetta/infra/run.sh /root/run.sh && \ |
|
|
|
|
cp ./rosetta/infra/rclone.conf /root/rclone.conf |
|
|
|
|
|
|
|
|
|
RUN cp ./rosetta/infra/harmony-pstn.conf /root/harmony-pstn.conf && \ |
|
|
|
|
cp ./rosetta/infra/harmony-mainnet.conf /root/harmony-mainnet.conf && \ |
|
|
|
@ -34,13 +35,14 @@ RUN cp ./rosetta/infra/harmony-pstn.conf /root/harmony-pstn.conf && \ |
|
|
|
|
FROM ubuntu:latest |
|
|
|
|
|
|
|
|
|
RUN apt update -y && \ |
|
|
|
|
apt install libgmp-dev libssl-dev -y && \ |
|
|
|
|
apt install libgmp-dev libssl-dev rclone -y && \ |
|
|
|
|
apt -y clean all |
|
|
|
|
|
|
|
|
|
WORKDIR /root |
|
|
|
|
|
|
|
|
|
COPY --from=build /root/harmony /root/harmony |
|
|
|
|
COPY --from=build /root/run.sh /root/run.sh |
|
|
|
|
COPY --from=build /root/rclone.conf /root/.config/rclone/rclone.conf |
|
|
|
|
COPY --from=build /root/harmony-pstn.conf /root/harmony-pstn.conf |
|
|
|
|
COPY --from=build /root/harmony-mainnet.conf /root/harmony-mainnet.conf |
|
|
|
|
COPY --from=build /root/rosetta_local_fix.csv /root/rosetta_local_fix.csv |
|
|
|
|