mirror of
https://github.com/louislam/dockge.git
synced 2025-03-14 13:24:50 +00:00
Compare commits
4 commits
ee978e3760
...
44bb33f6e3
Author | SHA1 | Date | |
---|---|---|---|
|
44bb33f6e3 | ||
|
81818a19d1 | ||
|
1372bd2ce1 | ||
|
adda2e15c1 |
5 changed files with 1088 additions and 852 deletions
|
@ -33,7 +33,7 @@ VOLUME /app/data
|
||||||
EXPOSE 5001
|
EXPOSE 5001
|
||||||
HEALTHCHECK --interval=60s --timeout=30s --start-period=60s --retries=5 CMD extra/healthcheck
|
HEALTHCHECK --interval=60s --timeout=30s --start-period=60s --retries=5 CMD extra/healthcheck
|
||||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||||
CMD ["bash", "-c", "node ./extra/clean-tsx-tmp.js && tsx ./backend/index.ts"]
|
CMD ["tsx", "./backend/index.ts"]
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
# Mark as Nightly
|
# Mark as Nightly
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
/*
|
|
||||||
* This script is used to clean up the tmp directory.
|
|
||||||
* A workaround for https://github.com/louislam/dockge/issues/353
|
|
||||||
*/
|
|
||||||
import * as fs from "fs";
|
|
||||||
|
|
||||||
try {
|
|
||||||
fs.rmSync("/tmp/tsx-0", {
|
|
||||||
recursive: true,
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
|
|
||||||
}
|
|
|
@ -129,6 +129,15 @@ export default {
|
||||||
}
|
}
|
||||||
// Fit the terminal width to the div container size after terminal is created.
|
// Fit the terminal width to the div container size after terminal is created.
|
||||||
this.updateTerminalSize();
|
this.updateTerminalSize();
|
||||||
|
|
||||||
|
// Add paste event listener
|
||||||
|
this.terminal.textarea.addEventListener("paste", (event) => {
|
||||||
|
const textToPaste = event.clipboardData.getData("text").replace(/\n+$/, "");
|
||||||
|
this.cursorPosition += textToPaste.length;
|
||||||
|
this.terminalInputBuffer += textToPaste;
|
||||||
|
console.debug("Paste text: " + textToPaste);
|
||||||
|
this.terminal.write(textToPaste);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
unmounted() {
|
unmounted() {
|
||||||
|
|
|
@ -38,14 +38,14 @@
|
||||||
"croner": "~8.1.2",
|
"croner": "~8.1.2",
|
||||||
"dayjs": "~1.11.13",
|
"dayjs": "~1.11.13",
|
||||||
"dotenv": "~16.3.2",
|
"dotenv": "~16.3.2",
|
||||||
"express": "~4.21.1",
|
"express": "~4.21.2",
|
||||||
"express-static-gzip": "~2.1.8",
|
"express-static-gzip": "~2.1.8",
|
||||||
"http-graceful-shutdown": "~3.1.13",
|
"http-graceful-shutdown": "~3.1.13",
|
||||||
"jsonwebtoken": "~9.0.2",
|
"jsonwebtoken": "~9.0.2",
|
||||||
"jwt-decode": "~3.1.2",
|
"jwt-decode": "~3.1.2",
|
||||||
"knex": "~2.5.1",
|
"knex": "~2.5.1",
|
||||||
"limiter-es6-compat": "~2.1.2",
|
"limiter-es6-compat": "~2.1.2",
|
||||||
"mysql2": "~3.11.3",
|
"mysql2": "~3.12.0",
|
||||||
"promisify-child-process": "~4.1.2",
|
"promisify-child-process": "~4.1.2",
|
||||||
"redbean-node": "~0.3.3",
|
"redbean-node": "~0.3.3",
|
||||||
"semver": "^7.6.3",
|
"semver": "^7.6.3",
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
"socket.io-client": "~4.8.0",
|
"socket.io-client": "~4.8.0",
|
||||||
"timezones-list": "~3.0.3",
|
"timezones-list": "~3.0.3",
|
||||||
"ts-command-line-args": "~2.5.1",
|
"ts-command-line-args": "~2.5.1",
|
||||||
"tsx": "~4.6.2",
|
"tsx": "~4.19.2",
|
||||||
"type-fest": "~4.3.3",
|
"type-fest": "~4.3.3",
|
||||||
"yaml": "~2.3.4"
|
"yaml": "~2.3.4"
|
||||||
},
|
},
|
||||||
|
|
1910
pnpm-lock.yaml
generated
1910
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue