fix(cms/docker): drop COPY of nonexistent public/ dir (media is on S3)

This commit is contained in:
hanzo-dev
2026-07-13 08:01:48 -07:00
parent 73c2e7de40
commit 069e8537b2
+2 -1
View File
@@ -44,7 +44,8 @@ RUN groupadd --system --gid 1001 nodejs && useradd --system --uid 1001 --gid nod
# path, and the traced node_modules ride alongside it at the workspace root).
COPY --from=builder --chown=nextjs:nodejs /app/apps/hanzo-demo/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/apps/hanzo-demo/.next/static ./apps/hanzo-demo/.next/static
COPY --from=builder --chown=nextjs:nodejs /app/apps/hanzo-demo/public ./apps/hanzo-demo/public
# No public/ dir in this app — media is served from S3 (hanzo-cms bucket), not
# a static public folder, so there is nothing to copy.
USER nextjs
EXPOSE 3000