diff --git a/captain-definition b/captain-definition index 3900e79..7459a8a 100644 --- a/captain-definition +++ b/captain-definition @@ -3,9 +3,9 @@ "dockerfileLines": [ "FROM node:20-alpine", "WORKDIR /app", - "COPY . .", - "RUN rm -rf node_modules package-lock.json", + "COPY package*.json ./", "RUN npm install", + "COPY . .", "EXPOSE 10000", "CMD [\"node\", \"server.js\"]" ]