# Use the official Node.js image as the base image FROM node:14-alpine # 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 npm dependencies RUN npm install # Install additional dependencies RUN npm install express@^4.19.2 live-server@^1.2.2 nodemailer@^6.9.13 pg@^8.11.5 postgres@^3.4.4 rss-parser@^3.13.0 # Copy the rest of the application code to the working directory COPY . . # Expose the port your app runs on EXPOSE 7860 # Command to run the application CMD ["node", "index.js"]