Files
bitcoin-indexer/dockerfiles/components/runes-api.dockerfile
Rafael Cárdenas da5596afec feat(runes): add runes api to codebase (#449)
* 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>
2025-02-27 09:06:43 -06:00

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"]