Files
investor-flow/app/Dockerfile
T

21 lines
372 B
Docker
Raw Normal View History

# Investor Flow — Frontend Dockerfile (Next.js)
FROM node:22-alpine AS frontend
WORKDIR /app
# Install dependencies
COPY package.json package-lock.json* ./
RUN npm install --frozen-lockfile || npm install
# Copy app source
COPY . .
# Build the Next.js app
RUN npm run build
# Expose frontend port
EXPOSE 3000
# Start the Next.js server
CMD ["npm", "run", "start"]