CoolFace
Apppublic

Nymbo/zero-gpu-spaces

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
Dockerfile24 linesDownload Raw Back to root
1# Dockerfile2# Use an official Node.js runtime as the base image3FROM node:184 5# Set the working directory in the container6WORKDIR /usr/src/app7 8# Copy package.json and package-lock.json to the container9COPY package.json package-lock.json ./10 11# Install dependencies12RUN npm install13 14# Copy the rest of the application files to the container15COPY . .16 17# Build the Next.js application for production18RUN npm run build19 20# Expose the application port (assuming your app runs on port 3000)21EXPOSE 300022 23# Start the application24CMD ["npm", "start"]