1
0
stack-orchestrator/container-build/cerc-laconic-registry-cli/Dockerfile
2023-01-06 13:13:56 -07:00

14 lines
299 B
Docker

# TODO: move this into the cerc-io/laconic-sdk (aka client) repo
FROM node:16.17.1-alpine3.16
ARG NPM_AUTH_TOKEN
WORKDIR /app
COPY . .
RUN echo //npm.pkg.github.com/:_authToken=$NPM_AUTH_TOKEN > ~/.npmrc
RUN apk --update --no-cache add git && yarn && yarn build
ENTRYPOINT ["/app/bin/laconic"]