Something went wrong. Try again.
Something went wrong. Try again.
image-compression Dockerfile
12345678910# syntax=docker/dockerfile:1.19# Build on the host first: npm ci && npm run models && npm run build# This container serves the resulting static files; no Rust/Node runtime is shipped.FROM nginx:stable-alpineCOPY deploy/nginx.conf /etc/nginx/conf.d/default.conf# Keep large, rarely changing model bundles independent of frontend rebuilds.COPY dist/models/ /usr/share/nginx/html/models/COPY --exclude=models dist/ /usr/share/nginx/html/EXPOSE 80