add captain definiition
This commit is contained in:
parent
98fa199ff1
commit
f3e13d9fa8
|
|
@ -1,2 +1,2 @@
|
|||
bun run build
|
||||
ssh plansys@web.andromedia.co.id "cd /home/plansys/prasi/app && git reset --hard && git pull && bun run deploy"
|
||||
bun run deploy
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"schemaVersion": 2,
|
||||
"dockerfileLines": [
|
||||
"FROM oven/bun",
|
||||
"COPY package.json bun.lockb /temp/prod/",
|
||||
"RUN cd /temp/prod && bun install --frozen-lockfile --production",
|
||||
"RUN mkdir -p /temp/prod",
|
||||
"COPY /temp/prod/node_modules node_modules",
|
||||
"ENV PORT 80",
|
||||
"EXPOSE 4550",
|
||||
"CMD [ \"bun\", \"prod\" ]"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue