# Offline image build on the server The archive contains npm caches from Linux Node 22.18.0. Do not use a Windows `node_modules`. Images: - `child-gold-land-backend:866be223956ef5d3961b0d835b36adedfeb35c82` - `child-gold-land-frontend:c53a67831db98ea10f1aa168fcab80cca97134ed` ```bash sha256sum -c offline-deps.tar.gz.sha256 tar -xzf offline-deps.tar.gz cp -a offline-deps/backend-npm-cache /opt/gold_land/server/src/offline-npm-cache cp -a offline-deps/frontend-npm-cache /opt/gold_land/user/src/offline-npm-cache cp offline-deps/backend.Dockerfile /opt/gold_land/server/src/Dockerfile.offline cp offline-deps/frontend.Dockerfile /opt/gold_land/user/src/Dockerfile.offline docker build --pull=false -f /opt/gold_land/server/src/Dockerfile.offline \ -t child-gold-land-backend:866be223956ef5d3961b0d835b36adedfeb35c82 \ /opt/gold_land/server/src docker build --pull=false -f /opt/gold_land/user/src/Dockerfile.offline \ --build-arg VITE_API_URL=/api \ -t child-gold-land-frontend:c53a67831db98ea10f1aa168fcab80cca97134ed \ /opt/gold_land/user/src ``` Point the existing compose services at those tags. Keep the current `.env` and volume. Start without `--build`. `nginx:1.27-alpine` must already be local or pullable from Docker Hub. `node:22.18.0-bookworm` must already be local.