Registry-Entscheidung evidenzbasiert: das Package ist pnpm-Dependency von ThreadNet-Webs apps/web, der Lockfile pinnt die Tarball-URL auf rohana - Registry bleibt dort. Publish-Auth ueber CI-Variable GITEA_NPM_TOKEN statt lokaler Klartext-.npmrc. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
318 B
Docker
14 lines
318 B
Docker
FROM alpine AS builder
|
|
|
|
COPY ./dist /dist
|
|
|
|
# Compress assets to work with nginx-gzip-static-module
|
|
WORKDIR /dist/assets
|
|
RUN gzip -k ../index.html *.js *.map *.css *.wasm *-app-*.json
|
|
|
|
FROM nginxinc/nginx-unprivileged:alpine-slim
|
|
|
|
COPY --from=builder ./dist /app
|
|
|
|
COPY config/nginx.conf /etc/nginx/conf.d/default.conf
|