Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed Jan 21, 2024
1 parent 622c689 commit 34562f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID}
ENV DOCKER=true

EXPOSE 8000
ENTRYPOINT ["/usr/bin/deno" "task" "server"]
ENTRYPOINT ["/usr/bin/deno", "task", "server"]

HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
CMD curl -Lk -fsS http://localhost:8000/api/health_check || exit 1
5 changes: 0 additions & 5 deletions signal_handler.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { TaskManager } from "./task_manager.ts";
import { isDocker } from "./utils.ts";

export const ExitTarget = new EventTarget();

Expand All @@ -13,10 +12,6 @@ export function add_exit_handler(m: TaskManager) {
m.close();
};
const handler = async () => {
if (isDocker()) {
force_kill();
return;
}
if (ignore_signal) return;
if (first_aborted) {
m.abort();
Expand Down

0 comments on commit 34562f6

Please sign in to comment.