40d9321aec
* feat: add dockerfile and env variables * Added workflow for pushing node status api on harbor * Misc changes to pathing and using yq instead of jq * fix: change the way we read env vars for nyxd, nym api and explorer * fix: docker build workflow * Remove config in favor of clap args * Added naming and tags * change from value to result --------- Co-authored-by: Lawrence Stalder <lawrence@nymtech.net> Co-authored-by: dynco-nym <173912580+dynco-nym@users.noreply.github.com>
16 lines
323 B
Docker
16 lines
323 B
Docker
FROM rust:latest AS builder
|
|
|
|
COPY ./ /usr/src/nym
|
|
WORKDIR /usr/src/nym/nym-node-status-api
|
|
|
|
RUN cargo build --release
|
|
|
|
FROM ubuntu:24.04
|
|
|
|
RUN apt-get update && apt-get install -y ca-certificates
|
|
|
|
WORKDIR /nym
|
|
|
|
COPY --from=builder /usr/src/nym/target/release/nym-node-status-api ./
|
|
ENTRYPOINT [ "/nym/nym-node-status-api" ]
|