Restore CONFIG_FILE Docker ARG (we need it).
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m21s
All checks were successful
Tests / Run integration tests (pull_request) Successful in 3m21s
This commit is contained in:
parent
f65800cf2d
commit
0153371995
@ -20,15 +20,14 @@ FROM alpine
|
|||||||
|
|
||||||
ARG USER="vdbm"
|
ARG USER="vdbm"
|
||||||
ARG EXPOSE_PORT=8545
|
ARG EXPOSE_PORT=8545
|
||||||
|
ARG CONFIG_FILE="./environments/docker.toml"
|
||||||
|
|
||||||
RUN apk --no-cache add su-exec bash
|
RUN apk --no-cache add su-exec bash
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# chown first so dir is writable
|
COPY --from=builder /eth-statediff-service/$CONFIG_FILE config.toml
|
||||||
# note: using $USER is merged, but not in the stable release yet
|
|
||||||
COPY --from=builder /eth-statediff-service/startup_script.sh .
|
COPY --from=builder /eth-statediff-service/startup_script.sh .
|
||||||
COPY --from=builder /eth-statediff-service/environments environments
|
|
||||||
|
|
||||||
# keep binaries immutable
|
# keep binaries immutable
|
||||||
COPY --from=builder /eth-statediff-service/eth-statediff-service eth-statediff-service
|
COPY --from=builder /eth-statediff-service/eth-statediff-service eth-statediff-service
|
||||||
|
Loading…
Reference in New Issue
Block a user