1
0
forked from noxious/client
This commit is contained in:
2024-07-10 21:20:24 +02:00
parent 175f23aa51
commit 95d28a0b99
2 changed files with 13 additions and 32 deletions

View File

@ -1,4 +1,15 @@
{
"schemaVersion": 2,
"dockerfilePath" :"./Dockerfile"
"schemaVersion": 2,
"dockerfileLines": [
"FROM node:22.4.1-alpine as builder",
"RUN mkdir -p /usr/src/app",
"WORKDIR /usr/src/app",
"COPY ./ /usr/src/app",
"RUN npm install && npm run build-ntc",
"FROM nginx:alpine",
"COPY --from=builder /usr/src/app/dist /usr/share/nginx/html",
"EXPOSE 80",
"CMD [\"nginx\", \"-g\", \"daemon off;\"]"
]
}