Skip to content

Commit

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

RUN apk add --update-cache --no-cache \
ca-certificates

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

0 comments on commit de23c5d

Please sign in to comment.