Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docker improvements #1

Open
wants to merge 8 commits into
base: stable/2.1
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: workdirs order
Signed-off-by: djerfy <djerfy@gmail.com>
  • Loading branch information
djerfy committed Feb 6, 2024
commit 40e5ae15c180d28195b2fcd39d6a3537d632626e
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -22,15 +22,15 @@ LABEL maintainer="contact@openchia.io"
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y git python3-virtualenv lsb-release sudo procps tmux net-tools vim iputils-ping netcat-traditional

WORKDIR /root/chia-exporter
COPY --from=build_chia_exporter /build/chia-exporter/chia_exporter .

WORKDIR /root
COPY . /root/chia-blockchain

WORKDIR /root/chia-blockchain
RUN sh install.sh

WORKDIR /root/chia-exporter
COPY --from=build_chia_exporter /build/chia-exporter/chia_exporter .

# Expose RPC ports
EXPOSE 58444
EXPOSE 8444