From 0153371995799c475a7b30ae9e788fb71f14ed48 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Thu, 28 Sep 2023 17:03:45 -0500 Subject: [PATCH] Restore CONFIG_FILE Docker ARG (we need it). --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41dda95..fdf7b58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,15 +20,14 @@ FROM alpine ARG USER="vdbm" ARG EXPOSE_PORT=8545 +ARG CONFIG_FILE="./environments/docker.toml" RUN apk --no-cache add su-exec bash WORKDIR /app -# chown first so dir is writable -# note: using $USER is merged, but not in the stable release yet +COPY --from=builder /eth-statediff-service/$CONFIG_FILE config.toml COPY --from=builder /eth-statediff-service/startup_script.sh . -COPY --from=builder /eth-statediff-service/environments environments # keep binaries immutable COPY --from=builder /eth-statediff-service/eth-statediff-service eth-statediff-service