1
0
forked from noxious/server
This commit is contained in:
Dennis Postma 2024-07-10 20:06:58 +02:00
parent c7b70f2674
commit 0a60b711b9

View File

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