Restore CONFIG_FILE Docker ARG (we need it).
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m21s

This commit is contained in:
Thomas E Lackey 2023-09-28 17:03:45 -05:00
parent f65800cf2d
commit 0153371995

View File

@ -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