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

14 lines
299 B
Docker
Raw Normal View History

2022-09-29 03:00:57 +00:00
# TODO: move this into the cerc-io/laconic-sdk (aka client) repo
2022-09-28 17:37:57 +00:00
FROM node:16.17.1-alpine3.16
2022-09-22 03:35:18 +00:00
ARG NPM_AUTH_TOKEN
WORKDIR /app
COPY . .
RUN echo //npm.pkg.github.com/:_authToken=$NPM_AUTH_TOKEN > ~/.npmrc
2022-09-29 02:32:58 +00:00
RUN apk --update --no-cache add git && yarn && yarn build
2022-09-29 03:00:57 +00:00
ENTRYPOINT ["/app/bin/laconic"]