prasi-bun/deploy/captain-definition

14 lines
342 B
Plaintext

{
"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\" ]"
]
}