1
0
forked from noxious/server
noxious_server/captain-definition
2024-07-10 20:41:21 +02:00

13 lines
293 B
Plaintext

{
"schemaVersion": 2,
"dockerfileLines": [
"FROM node:22.4.1-alpine",
"RUN mkdir -p /usr/src/app",
"WORKDIR /usr/src/app",
"COPY ./ /usr/src/app",
"ENV PORT 4000",
"RUN npm install && npm cache clean --force && npm run build",
"EXPOSE 4000",
"CMD [ \"npm\", \"start\" ]"
]
}