Add required TLS certs and a data dir in the container

This commit is contained in:
Prathamesh Musale 2023-10-16 19:14:19 +05:30
parent 083cd37904
commit 3ce37b25bb

View File

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