CoolFace
Apppublic

mikmc5/comedy

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1# Use the official Node.js 18 base image2FROM node:18-slim3 4# Set the working directory inside the container5WORKDIR /usr/src/app6 7# Copy the package.json and package-lock.json if available8COPY package*.json ./9 10# Install the app dependencies11RUN npm install --production12 13# Copy the rest of the application code to the container14COPY . .15 16# Set environment variable to production17ENV NODE_ENV=production18 19# Expose the port Hugging Face Spaces will bind to20EXPOSE 300021 22# Command to start the app23CMD ["node", "index.js"]