This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
# Install system dependencies for image manipulation (ImageMagick v7+)
|
||||
RUN apk add --no-cache imagemagick webp ghostscript
|
||||
RUN apk add --no-cache imagemagick libwebp libwebp-tools ghostscript
|
||||
|
||||
# Enable pnpm
|
||||
RUN corepack enable
|
||||
@@ -45,7 +45,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
|
||||
EXPOSE 3000
|
||||
ENV PORT 3000
|
||||
ENV PORT=3000
|
||||
|
||||
# The standalone output creates a server.js file that is the entrypoint
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user