Compare commits

...

4 Commits

Author SHA1 Message Date
semantic-release-bot
a2796b4347 chore(release): 2.16.5 [skip ci]
## [2.16.5](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.16.4...v2.16.5) (2025-10-09)

### Bug Fixes

* correct node_modules path for pnpm symlinks in Docker ([c12351f](c12351f2c9))
2025-10-09 23:56:53 +00:00
Thomas Hallock
c12351f2c9 fix: correct node_modules path for pnpm symlinks in Docker
The Next.js standalone build creates symlinks in node_modules that point
to ../../../node_modules/.pnpm. When the working directory is /app, these
resolve to /node_modules/.pnpm. Fixed by copying node_modules to /node_modules
instead of /app/node_modules.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 18:56:06 -05:00
semantic-release-bot
9a9958a659 chore(release): 2.16.4 [skip ci]
## [2.16.4](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.16.3...v2.16.4) (2025-10-09)

### Bug Fixes

* correct Docker CMD to use root-level server.js ([48b47e9](48b47e9bdb))
2025-10-09 23:45:37 +00:00
Thomas Hallock
48b47e9bdb fix: correct Docker CMD to use root-level server.js
The Next.js standalone build outputs server.js to /app/server.js, not
/app/apps/web/server.js. This was causing the container to crash on
startup with MODULE_NOT_FOUND errors, resulting in 404s for abaci.one.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 18:44:34 -05:00
3 changed files with 22 additions and 3 deletions

View File

@@ -1,3 +1,17 @@
## [2.16.5](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.16.4...v2.16.5) (2025-10-09)
### Bug Fixes
* correct node_modules path for pnpm symlinks in Docker ([c12351f](https://github.com/antialias/soroban-abacus-flashcards/commit/c12351f2c99daaed710a1136eb13f6ccc54cbcff))
## [2.16.4](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.16.3...v2.16.4) (2025-10-09)
### Bug Fixes
* correct Docker CMD to use root-level server.js ([48b47e9](https://github.com/antialias/soroban-abacus-flashcards/commit/48b47e9bdb0da44746282cd7cf7599a69bf5130d))
## [2.16.3](https://github.com/antialias/soroban-abacus-flashcards/compare/v2.16.2...v2.16.3) (2025-10-09)

View File

@@ -38,11 +38,16 @@ WORKDIR /app
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
# Copy built application
# Copy built application from standalone output
COPY --from=builder --chown=nextjs:nodejs /app/apps/web/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/apps/web/.next/static ./apps/web/.next/static
COPY --from=builder --chown=nextjs:nodejs /app/apps/web/public ./apps/web/public
# Copy node_modules with proper structure for pnpm symlinks
# The standalone output has symlinks that point to ../../../node_modules/.pnpm
# which resolves to /node_modules/.pnpm when CWD is /app
COPY --from=builder --chown=nextjs:nodejs /app/node_modules /node_modules
# Set up environment
USER nextjs
EXPOSE 3000
@@ -50,4 +55,4 @@ ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
# Start the application
CMD ["node", "apps/web/server.js"]
CMD ["node", "server.js"]

View File

@@ -1,6 +1,6 @@
{
"name": "soroban-monorepo",
"version": "2.16.3",
"version": "2.16.5",
"private": true,
"description": "Beautiful Soroban Flashcard Generator - Monorepo",
"workspaces": [