Skip to content

Commit

Permalink
config in image
Browse files Browse the repository at this point in the history
  • Loading branch information
eedygreen committed Mar 12, 2024
1 parent 84096ab commit 21c5371
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ FROM alpine:3.19

RUN apk add --update-cache --no-cache \
ca-certificates
RUN mkdir -p app
COPY --from=builder /src/rpc-gateway /
COPY --from=builder /src/config.yaml /app/

COPY --from=builder /src/rpc-gateway /app/
COPY --from=builder /src/config.yaml /app/
VOLUME [ "/app" ]
USER nobody
LABEL org.opencontainers.image.source https://github.com/sygmaprotocol/rpc-gateway
ENTRYPOINT ["./rpc-gateway"]
ENTRYPOINT ["./app/rpc-gateway", "--config", "/app/config.yaml"]

0 comments on commit 21c5371

Please sign in to comment.