CI installs via local Verdaccio and prefers Gitea copies of node/postgres/nginx so staging and prod can still ship when Docker Hub and npmjs are unreachable.
10 lines
310 B
Docker
10 lines
310 B
Docker
# Node 20 + dumb-init. App Dockerfiles skip apt when CI uses this image.
|
|
# Seed: infrastructure/scripts/seed-gitea-base-images.ps1
|
|
ARG NODE_IMAGE=node:20-bookworm-slim
|
|
FROM ${NODE_IMAGE}
|
|
|
|
USER root
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends dumb-init \
|
|
&& rm -rf /var/lib/apt/lists/*
|