Dockerfile.publish-bootstrap-tiers
Rama main · réplica de lectura del repositorio original.
# Bootstrap tier publisher for Railway.
#
# Railway always prefers a root Dockerfile when one exists, even when a service
# is configured for Railpack. This dedicated image keeps the publisher isolated
# from the web application's root Dockerfile while retaining repo-root access to
# the shared bootstrap tier registry.
FROM node:24-alpine@sha256:8a32c8cf649a49915a66e81e7a609223c708d0adabf288ee3f4077d765542f85
WORKDIR /app
ENV npm_config_install_links=true
COPY scripts/package.json scripts/package-lock.json ./scripts/
COPY scripts/vendor/deepmerge/ ./scripts/vendor/deepmerge/
RUN npm ci --prefix scripts --omit=dev --ignore-scripts
COPY scripts/ ./scripts/
COPY shared/ ./shared/
USER node
CMD ["node", "scripts/publish-bootstrap-tiers.mjs", "--loop"]