FROM node:20 # Set the working directory WORKDIR /app # Copy all files into the container COPY . . # Give full read, write, and execute permissions to all files and directories RUN chmod -R 777 /app # Install dependencies RUN npm install # Expose the port for the application EXPOSE 7860 # Start the application CMD ["npm", "start"]