diff --git a/docker/Dockerfile b/docker/Dockerfile index 49c28ef9..de34a237 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,7 +33,7 @@ VOLUME /app/data EXPOSE 5001 HEALTHCHECK --interval=60s --timeout=30s --start-period=60s --retries=5 CMD extra/healthcheck 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 diff --git a/extra/clean-tsx-tmp.js b/extra/clean-tsx-tmp.js deleted file mode 100644 index 4e2e35ba..00000000 --- a/extra/clean-tsx-tmp.js +++ /dev/null @@ -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) { - -}