Skip to content

Commit

Permalink
dockerfile add TARI_TARGET_NETWORK env (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
leet4tari committed Mar 11, 2024
1 parent efdcdef commit 0df77fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker_rig/tarilabs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ ARG VERSION=1.0.1
ARG APP_NAME=wallet
ARG APP_EXEC=minotari_console_wallet
ARG TARI_NETWORK
ARG TARI_TARGET_NETWORK

WORKDIR /tari

Expand Down Expand Up @@ -93,6 +94,7 @@ ARG VERSION
ARG APP_NAME
ARG APP_EXEC
ARG TARI_NETWORK
ARG TARI_TARGET_NETWORK

# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -130,7 +132,8 @@ ENV rust_version=$RUST_VERSION

ENV APP_NAME=${APP_NAME:-wallet}
ENV APP_EXEC=${APP_EXEC:-minotari_console_wallet}
ENV TARI_NETWORK=$TARI_NETWORK
ENV TARI_NETWORK=${TARI_NETWORK}
ENV TARI_TARGET_NETWORK=${TARI_TARGET_NETWORK}

RUN mkdir -p "/var/tari/${APP_NAME}" && \
chown -R tari:tari "/var/tari/${APP_NAME}"
Expand Down

0 comments on commit 0df77fa

Please sign in to comment.