This commit is contained in:
ITQ
2025-03-03 02:09:28 +03:00
parent cf8e9169d5
commit 43eec235cc
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -373,7 +373,7 @@ services:
custom_python:
image: gitlab.prodcontest.ru:5050/team-15/project/custom-python:latest
entrypoint: [""]
command: echo "Image pulled."
command: exit 0
checker:
image: gitlab.prodcontest.ru:5050/team-15/project/checker:latest
+6 -6
View File
@@ -158,12 +158,12 @@ def run_container_safely(
"stderr": f"Container error: {str(e)}",
"status": -1,
}
finally:
if container:
try:
container.remove(force=True)
except docker.errors.DockerException:
pass
# finally:
# if container:
# try:
# container.remove(force=True)
# except docker.errors.DockerException:
# pass
def validate_file_path(path: str) -> bool: