diff --git a/captain-definition b/captain-definition new file mode 100644 index 0000000..efe6efc --- /dev/null +++ b/captain-definition @@ -0,0 +1,14 @@ +{ +"schemaVersion": 2, +"dockerfileLines": [ + "FROM node:20-alpine", + "RUN mkdir -p /usr/src/app", + "WORKDIR /usr/src/app", + "COPY . /usr/src/app", + "RUN npm install && npm cache clean --force", + "ENV NODE_ENV production", + "ENV PORT 8000", + "EXPOSE 8000", + "CMD [ \"node\", \"app.js\" ]" + ] +} \ No newline at end of file