mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 22:07:10 +00:00
hehe
This commit is contained in:
+1
-1
@@ -373,7 +373,7 @@ services:
|
|||||||
custom_python:
|
custom_python:
|
||||||
image: gitlab.prodcontest.ru:5050/team-15/project/custom-python:latest
|
image: gitlab.prodcontest.ru:5050/team-15/project/custom-python:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
command: echo "Image pulled."
|
command: exit 0
|
||||||
|
|
||||||
checker:
|
checker:
|
||||||
image: gitlab.prodcontest.ru:5050/team-15/project/checker:latest
|
image: gitlab.prodcontest.ru:5050/team-15/project/checker:latest
|
||||||
|
|||||||
@@ -158,12 +158,12 @@ def run_container_safely(
|
|||||||
"stderr": f"Container error: {str(e)}",
|
"stderr": f"Container error: {str(e)}",
|
||||||
"status": -1,
|
"status": -1,
|
||||||
}
|
}
|
||||||
finally:
|
# finally:
|
||||||
if container:
|
# if container:
|
||||||
try:
|
# try:
|
||||||
container.remove(force=True)
|
# container.remove(force=True)
|
||||||
except docker.errors.DockerException:
|
# except docker.errors.DockerException:
|
||||||
pass
|
# pass
|
||||||
|
|
||||||
|
|
||||||
def validate_file_path(path: str) -> bool:
|
def validate_file_path(path: str) -> bool:
|
||||||
|
|||||||
Reference in New Issue
Block a user