fix docker

This commit is contained in:
Rizky 2024-06-21 05:16:58 +07:00
parent d6ee6cd369
commit 8d637b1bee
41 changed files with 15 additions and 14 deletions

View File

@ -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

View File

@ -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.