Skip to content

Commit

Permalink
chore: update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
deowk committed Mar 18, 2024
1 parent c5fa8ad commit a79c5e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ RUN cargo build --release
# Use distroless
FROM cgr.dev/chainguard/glibc-dynamic:latest

# COPY --from=busybox:1.35.0-uclibc /bin/sh /bin/sh

USER nonroot

# Set these in the environment to override [use once we have env vars available]
Expand All @@ -33,7 +35,7 @@ ENV API_USE_TLS="0"
ENV COMPUTE_MINER_WHITELIST="/etc/compute_miner_whitelist.json"
ENV RUST_LOG=info,debug

RUN echo "Node type is $NODE_TYPE"
# RUN echo "Node type is $NODE_TYPE"

# Copy node bin
COPY --from=builder /a-block/release/node ./node
Expand Down

0 comments on commit a79c5e5

Please sign in to comment.