Spaces:
Configuration error
Configuration error
File size: 405 Bytes
a053984 8db5596 c132e32 8db5596 a053984 c132e32 8db5596 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# Specify the base image
FROM node:18.17.0
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of your application code
COPY . .
# Build your Next.js application
RUN npm run build
# Expose the port your app runs on
EXPOSE 3000
# Command to run your app
CMD ["npm", "start"] |