FROM node:20.9.0-alpine3.18 # The working directory inside your container WORKDIR /app # Get the package.json first to install dependencies COPY package.json /app # This will install those dependencies RUN npm install # Copy the rest of the app to the working directory COPY . /app # Run the container CMD ["npm", "start"]