Spaces:
Runtime error
Runtime error
# Node version 20 | |
FROM node:20.8.0 | |
# Set the working directory in the container | |
WORKDIR /usr/src/app | |
# Copy package.json and package-lock.json to the working directory | |
COPY package*.json ./ | |
# Install app dependencies | |
RUN npm install | |
# Copy the application code to the working directory | |
COPY . . | |
# Expose the port the app runs on | |
EXPOSE 7860 | |
# Command to run your application | |
CMD ["node", "app.js"] |