chore: upgrade Node.js runtime to v24 across codebase #419
@@ -1,4 +1,4 @@
|
|||||||
import { Injectable, Logger, Optional } from "@nestjs/common";
|
import { Inject, Injectable, Logger, Optional } from "@nestjs/common";
|
||||||
import { ConfigService } from "@nestjs/config";
|
import { ConfigService } from "@nestjs/config";
|
||||||
import { randomBytes } from "crypto";
|
import { randomBytes } from "crypto";
|
||||||
import Docker from "dockerode";
|
import Docker from "dockerode";
|
||||||
@@ -86,7 +86,7 @@ export class DockerSandboxService {
|
|||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private readonly configService: ConfigService,
|
private readonly configService: ConfigService,
|
||||||
@Optional() docker?: Docker
|
@Optional() @Inject("DOCKER_CLIENT") docker?: Docker
|
||||||
) {
|
) {
|
||||||
const socketPath = this.configService.get<string>(
|
const socketPath = this.configService.get<string>(
|
||||||
"orchestrator.docker.socketPath",
|
"orchestrator.docker.socketPath",
|
||||||
|
|||||||
Reference in New Issue
Block a user