Commit graph

13 commits

Author SHA1 Message Date
Marcus
ee703a364c ajustes 2026-01-31 10:36:39 -03:00
Marcus Bohessef
94126f0523 ajuste no drone 2026-01-06 20:41:16 -03:00
Marcus Bohessef
59e6177244 ajuste no drone 2026-01-06 20:37:15 -03:00
Tiago Yamamoto
a65259688f fix(docker): Increase NODE_OPTIONS memory for build
The docker build was failing due to a JavaScript heap out of memory error.
This commit increases the --max-old-space-size in NODE_OPTIONS from 384MB to 2048MB
in the builder stage of the Dockerfile to provide more memory for the build process,
resolving the memory allocation failure during
> backoffice@0.0.1 build /home/yamamoto/lab/gohorsejobs/backoffice
> nest build.
2025-12-28 13:48:22 -03:00
Tiago Yamamoto
3d704191e1 perf(docker): optimize backoffice Dockerfile
- Add --prefer-offline for faster installs
- Reduce NODE_OPTIONS to 384MB
- Add pnpm store prune to cleanup unused packages
- Unique cache id (pnpm-backoffice) to avoid conflicts
- Cleanup caches in same layer
2025-12-28 11:21:57 -03:00
Tiago Yamamoto
632fc78982 feat(ci): add backoffice to deploy pipeline + optimize Dockerfile
- Add backoffice paths trigger to deploy workflow
- Implement conditional builds (only build changed services)
- Optimize Dockerfile with BuildKit cache mounts
- Update pnpm to latest version
- Remove HEALTHCHECK (not supported by Podman OCI format)
2025-12-28 10:47:28 -03:00
Tiago Yamamoto
72957b418a chore(backoffice): allow build with outdated lockfile to unblock deploy 2025-12-24 18:33:01 -03:00
Tiago Yamamoto
7b5752f71f chore(docker): setup google mirror for base images 2025-12-24 17:46:57 -03:00
Tiago Yamamoto
ce37206286 fix(backoffice): simplify Dockerfile for proper source code copying 2025-12-24 00:28:39 -03:00
Tiago Yamamoto
60a32120e2 refactor(backoffice): rename PORT to BACKOFFICE_PORT and HOST to BACKOFFICE_HOST 2025-12-23 23:59:52 -03:00
Tiago Yamamoto
c6f7f41452 feat(backoffice): migrate to Fastify adapter with pnpm, Pino logging, and ultra-optimized Dockerfile 2025-12-23 23:44:02 -03:00
Tiago Yamamoto
22315e0231 perf: optimize backoffice Dockerfile with multi-stage build, non-root user, and .dockerignore 2025-12-23 23:32:43 -03:00
Tiago Yamamoto
44e0a2851d feat(backoffice): 🐳 added Dockerfile for containerization 2025-12-15 09:44:18 -03:00