added captain-definition
This commit is contained in:
parent
dfeef0073e
commit
38f273cb1f
1 changed files with 12 additions and 0 deletions
12
captain-definition
Normal file
12
captain-definition
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"schemaVersion": 2,
|
||||||
|
"dockerfileLines": [
|
||||||
|
"FROM node as build",
|
||||||
|
"COPY . /app",
|
||||||
|
"WORKDIR /app",
|
||||||
|
"RUN npm i",
|
||||||
|
"RUN npm run build",
|
||||||
|
"FROM nginx:mainline-alpine-slim",
|
||||||
|
"COPY --from=build /app/dist /usr/share/nginx/html"
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue