# Use an official Node.js runtime as a parent image FROM node:16 # Set the working directory in the container WORKDIR /usr/src/app # Copy the package.json and package-lock.json files to the working directory COPY package*.json ./ # Install dependencies RUN npm install --production # Copy the rest of the application code to the working directory COPY . . # Expose port 7860 EXPOSE 7860 # Command to run your application CMD [ "npm", "start" ]