nitro-stack/stack-orchestrator/container-build/cerc-nitro-client/Dockerfile

16 lines
346 B
Docker

FROM node:18.17.1-alpine3.18
RUN apk --update --no-cache add python3 alpine-sdk bash curl jq
WORKDIR /app
COPY ./packages packages
COPY ./package.json package.json
COPY ./yarn.lock yarn.lock
RUN echo "Installing dependencies" && \
yarn && yarn build
RUN echo "Installing nitro-rpc-client" && \
npm install -g ./packages/nitro-rpc-client