mirror of
https://github.com/louislam/dockge.git
synced 2025-04-01 22:12:21 +00:00
Remove the tsx workaround as it had been fixed in upstream
This commit is contained in:
parent
01906205f0
commit
1372bd2ce1
2 changed files with 1 additions and 14 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) {
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue