Skip to content
Snippets Groups Projects
Commit c7418343 authored by Nikhil Ram's avatar Nikhil Ram
Browse files

added docker

parent 0cf1645c
No related branches found
No related tags found
No related merge requests found
# Use the official Node.js 18 image as a base
FROM node:18-alpine
WORKDIR /app
COPY package.json .
COPY package-lock.json .
# Install dependencies
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
# Command to run the Next.js application
CMD ["npm", "start"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment