Spaces:
Running
Running
# Use an official Node.js runtime as a parent image | |
FROM node:14 | |
# Set the working directory | |
WORKDIR /app | |
# Copy package.json and install dependencies | |
COPY package.json ./ | |
RUN npm install | |
# Copy the rest of the application code | |
COPY . . | |
# Expose the port your app runs on | |
EXPOSE 7860 | |
# Define the command to run your app | |
CMD ["npm", "start"] | |