mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 08:34:17 +08:00
* new code * add ci * files * standard * Update api/runes/package.json Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com> --------- Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
15 lines
295 B
Docker
15 lines
295 B
Docker
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
COPY ./api/runes /app
|
|
COPY .git /.git
|
|
|
|
RUN apk add --no-cache --virtual .build-deps git
|
|
RUN npm ci --no-audit && \
|
|
npm run build && \
|
|
npm run generate:git-info && \
|
|
npm prune --production
|
|
RUN apk del .build-deps
|
|
|
|
CMD ["node", "./dist/src/index.js"]
|