Updated the Dockerfile for node 22. Updated the next.config to build a standalone output.
This commit is contained in:
parent
43d16cfeca
commit
a6bcc5cc1c
@ -1,10 +1,11 @@
|
||||
FROM node:20-alpine AS base
|
||||
FROM node:22-alpine AS base
|
||||
|
||||
ARG NEXT_PUBLIC_INSTAGRAM_ACCESS_TOKEN
|
||||
ARG NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY
|
||||
ARG NEXT_PUBLIC_STORE_URL
|
||||
ARG NEXT_PUBLIC_DEFAULT_REGION_ID
|
||||
ARG NEXT_PRIVATE_BASE_URL
|
||||
ARG NEXT_PUBLIC_RAZORPAY_KEY
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM base AS deps
|
||||
|
@ -1,7 +1,7 @@
|
||||
import type { NextConfig } from 'next';
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
// output: 'standalone',
|
||||
output: 'standalone',
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user