This commit is contained in:
root
2020-05-12 10:57:03 +03:00
parent 3c0da8d7ef
commit 495bd2f6b1
79 changed files with 10157 additions and 0 deletions

16
captain-definition Normal file
View File

@ -0,0 +1,16 @@
{
"schemaVersion" :2 ,
"dockerfileLines": [
"FROM node:8.7.0-alpine",
"RUN mkdir -p /usr/src/app",
"WORKDIR /usr/src/app",
"COPY ./package.json /usr/src/app/",
"RUN npm install && npm cache clean --force",
"COPY ./ /usr/src/app",
"ENV NODE_ENV production",
"ENV PORT 8000",
"EXPOSE 8000",
"CMD [ \"npm\", \"start\" ]"
]
}