diff --git a/captain-definition b/captain-definition index 3d252a5..3900e79 100644 --- a/captain-definition +++ b/captain-definition @@ -3,10 +3,10 @@ "dockerfileLines": [ "FROM node:20-alpine", "WORKDIR /app", - "COPY package*.json ./", - "RUN npm install", "COPY . .", + "RUN rm -rf node_modules package-lock.json", + "RUN npm install", "EXPOSE 10000", - "CMD [\"npm\", \"start\"]" + "CMD [\"node\", \"server.js\"]" ] -} +} \ No newline at end of file