bring up to date with github

This commit is contained in:
Garret Patti
2026-04-05 10:01:34 -04:00
parent 1c3a0fe4ee
commit de8ba04bd3
14 changed files with 316 additions and 129 deletions

View File

@@ -31,16 +31,13 @@ ENV NODE_ENV=production
ENV PORT=3000
# Bind to all interfaces so the container port is reachable
ENV HOSTNAME=0.0.0.0
# Store libraries.json in /config so it can be bind-mounted as a directory.
# Mounting a directory (not a single file) ensures the atomic rename in
# writeLibraries() works — both .tmp and the target are on the same filesystem.
ENV LIBRARIES_CONFIG_PATH=/config/libraries.json
RUN mkdir -p /config
# Copy standalone Next.js output
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static
COPY --from=builder /app/public ./public
# COPY --from=builder /app/public ./public
# Copy native modules — Next.js standalone's file tracer does not follow
# .node binary files, so we copy these manually from the deps stage.