fix
This commit is contained in:
parent
f3e13d9fa8
commit
423b2de891
|
|
@ -1,13 +1,17 @@
|
||||||
{
|
{
|
||||||
"schemaVersion": 2,
|
"schemaVersion": 2,
|
||||||
"dockerfileLines": [
|
"dockerfileLines": [
|
||||||
"FROM oven/bun",
|
"FROM oven/bun:debian",
|
||||||
"COPY package.json bun.lockb /temp/prod/",
|
"sudo apt install git",
|
||||||
"RUN cd /temp/prod && bun install --frozen-lockfile --production",
|
"RUN mkdir -p /prasi",
|
||||||
"RUN mkdir -p /temp/prod",
|
"CD /prasi",
|
||||||
"COPY /temp/prod/node_modules node_modules",
|
"RUN git clone https://github.com/rizrmd/prasi.git --depth=1",
|
||||||
"ENV PORT 80",
|
"COPY package.json bun.lockb /temp/prod/",
|
||||||
"EXPOSE 4550",
|
"RUN cd /temp/prod && bun install --frozen-lockfile --production",
|
||||||
"CMD [ \"bun\", \"prod\" ]"
|
"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