1
0
forked from noxious/client

Finished caprover deploy script?

This commit is contained in:
2024-07-10 22:26:37 +02:00
parent 95d28a0b99
commit 314730bf4b
3 changed files with 16 additions and 14 deletions

View File

@ -1,15 +1,4 @@
{
"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;\"]"
]
"schemaVersion": 2,
"dockerfilePath" :"./Dockerfile"
}