diff --git a/Dockerfile b/Dockerfile index a5d2956..a810d5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +ENTRYPOINT ["./app/rpc-gateway"] +CMD [ "--config", "/config/config.yaml" ] \ No newline at end of file