Files
pragativeer-v2/Dockerfile.dev

14 lines
263 B
Docker

FROM node:20-alpine
WORKDIR /app
# Install dependencies based on the preferred package manager
COPY package.json package-lock.json ./
RUN npm ci
# Copy the rest of the application code
COPY . .
# Start the Next.js development server
CMD ["npm", "run", "dev"]