bring up to date with github
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user