1
0
forked from noxious/server
This commit is contained in:
2024-07-10 22:07:57 +02:00
parent 2ca0d487a5
commit 47ab660fd0
2 changed files with 34 additions and 9 deletions

View File

@ -1,12 +1,4 @@
{
"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",
"EXPOSE 4000",
"CMD [ \"npm\", \"start\" ]"
]
"dockerfilePath" :"./Dockerfile"
}