From c0720c40333a47ad69ddd1d7eb7322df9a0478c5 Mon Sep 17 00:00:00 2001 From: "Michael F." Date: Fri, 6 Dec 2024 10:21:26 +0100 Subject: [PATCH] add --rm flag docker run --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f79286d..a82d550 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ build-docker: docker build -t graphsense-rest . serve-docker: - docker run -it --network='host' -e NUM_THREADS=1 -e NUM_WORKERS=1 -v "${PWD}/instance/config.yaml:/config.yaml:Z" -e CONFIG_FILE=/config.yaml localhost/graphsense-rest:latest + docker run -rm -it --network='host' -e NUM_THREADS=1 -e NUM_WORKERS=1 -v "${PWD}/instance/config.yaml:/config.yaml:Z" -e CONFIG_FILE=/config.yaml localhost/graphsense-rest:latest generate-openapi-server: update-package-version docker run --rm \ @@ -53,7 +53,7 @@ generate-openapi-server: update-package-version yq -i 'del(.components.schemas.search_result_level1.example,.components.schemas.search_result_level2.example,.components.schemas.search_result_level3.example,.components.schemas.search_result_level4.example,.components.schemas.search_result_level5.example,.components.schemas.search_result_level6.example,.components.schemas.search_result_leaf.example)' openapi_server/openapi/openapi.yaml run-designer: - docker run -d -p 8080:8080 swaggerapi/swagger-editor + docker run --rm -d -p 8080:8080 swaggerapi/swagger-editor echo 'Designer UI is running on port 8080' update-package-version: update-openapi-version