# 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 #RUN npm install express nodemailer pg postgres rss-parser # Copy the rest of the application code to the working directory COPY . . # Expose the port your app runs on EXPOSE 8000 # Command to run the application CMD ["node", "index.js"]