Skip to content

Commit

Permalink
added captain definition file
Browse files Browse the repository at this point in the history
  • Loading branch information
hirawatt committed Apr 17, 2024
1 parent 7811557 commit a084c14
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions captain-definition
Original file line number Diff line number Diff line change
@@ -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\" ]"
]
}

0 comments on commit a084c14

Please sign in to comment.