From 3ce37b25bb552a58298d86f28277a3c1ed835552 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 16 Oct 2023 19:14:19 +0530 Subject: [PATCH] Add required TLS certs and a data dir in the container --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 022627fd..1e43d112 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,8 @@ USER $USER COPY --chown=5000:5000 --from=builder /go/src/github.com/cerc-io/ipld-eth-server/$CONFIG_FILE config.toml COPY --chown=5000:5000 --from=builder /go/src/github.com/cerc-io/ipld-eth-server/entrypoint.sh . +COPY --chown=5000:5000 --from=builder /go/src/github.com/cerc-io/ipld-eth-server/nitroTLS nitroTLS +RUN mkdir -p nitro-data && chown -R 5000:5000 nitro-data # keep binaries immutable COPY --from=builder /go/src/github.com/cerc-io/ipld-eth-server/ipld-eth-server ipld-eth-server