added captain-definition

This commit is contained in:
Aly 2024-05-26 04:34:57 +10:00
parent c6def505cf
commit be3db4223f

12
captain-definition Normal file
View 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"
]
}