Fix legacy nomenclature
Some checks failed
release-image / release-image (push) Failing after 7m6s

This commit is contained in:
Logan Cusano
2025-05-26 03:34:18 -04:00
parent 7e43b1ef8e
commit 7031ff7ee4

View File

@@ -20,7 +20,7 @@ COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
# Build the Next.js application for production # Build the Next.js application for production
ENV NODE_ENV production ENV NODE_ENV=production
RUN npm run build RUN npm run build
# Stage 3: Run the Next.js application (flexible for dev and prod) # Stage 3: Run the Next.js application (flexible for dev and prod)
@@ -44,7 +44,7 @@ EXPOSE 3000
# Argument to set NODE_ENV at runtime # Argument to set NODE_ENV at runtime
ARG NODE_ENV=production ARG NODE_ENV=production
ENV NODE_ENV ${NODE_ENV} ENV NODE_ENV=${NODE_ENV}
# Command to run the Next.js application # Command to run the Next.js application
# This will run 'npm run dev' if NODE_ENV is 'development', otherwise 'npm start' (production) # This will run 'npm run dev' if NODE_ENV is 'development', otherwise 'npm start' (production)