mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-11 00:28:08 -05:00
15 lines
417 B
Docker
15 lines
417 B
Docker
FROM node:12.13-alpine
|
|
|
|
RUN apk update && apk add --no-cache git g++ make python && rm -rf /var/cache/apk/*
|
|
|
|
WORKDIR /usr/app
|
|
|
|
# Install node dependencies - done in a separate step so Docker can cache it.
|
|
COPY . .
|
|
|
|
RUN yarn install --force --network-timeout 1000000 --non-interactive --ignore-optional --frozen-lockfile && yarn cache clean
|
|
|
|
WORKDIR /usr/app/packages/lodestar-cli/bin
|
|
|
|
ENTRYPOINT ["node", "lodestar"]
|