FROM node:latest WORKDIR /app # Copy .npmrc file to the container COPY .npmrc ./ COPY package*.json ./ RUN npm install COPY . . EXPOSE 3000 CMD [ "node", "build" ]