fix docker
This commit is contained in:
parent
d6ee6cd369
commit
8d637b1bee
|
|
@ -1,4 +1,4 @@
|
|||
FROM oven/bun:1.1.13 as base
|
||||
FROM oven/bun:1.1.15 as base
|
||||
WORKDIR /app/prasi/repo
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
|||
|
|
@ -40,19 +40,20 @@ export const initTypings = async (
|
|||
code.internal.typings[id_site] = {
|
||||
timeout: Date.now(),
|
||||
watch: watch(typings_path),
|
||||
spawn: Bun.spawn({
|
||||
cmd: [
|
||||
...`${dir.path(
|
||||
platform() === "win32"
|
||||
? "node_modules/.bin/tsc.exe"
|
||||
: "node_modules/.bin/tsc"
|
||||
)} --watch --moduleResolution node --emitDeclarationOnly --outFile ../typings.d.ts --declaration --noEmit false`.split(
|
||||
" "
|
||||
),
|
||||
],
|
||||
cwd: dir.data(`/code/${id_site}/site/src`),
|
||||
stdio: [typings_log, typings_log, "ignore"],
|
||||
}),
|
||||
spawn: null as any
|
||||
// spawn: Bun.spawn({
|
||||
// cmd: [
|
||||
// ...`${dir.path(
|
||||
// platform() === "win32"
|
||||
// ? "node_modules/.bin/tsc.exe"
|
||||
// : "node_modules/.bin/tsc"
|
||||
// )} --watch --moduleResolution node --emitDeclarationOnly --outFile ../typings.d.ts --declaration --noEmit false`.split(
|
||||
// " "
|
||||
// ),
|
||||
// ],
|
||||
// cwd: dir.data(`/code/${id_site}/site/src`),
|
||||
// stdio: [typings_log, typings_log, "ignore"],
|
||||
// }),
|
||||
};
|
||||
let timeout = null as any;
|
||||
code.internal.typings[id_site].watch.on("change", (e, path) => {
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue