From d689495ee7f04eaa9a6dc162ea685dab5a86b182 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 5 Jan 2025 21:40:20 -0800 Subject: [PATCH] Cleanup scripts note here https://github.com/SpudGunMan/meshing-around/pull/103 and @turnrye can you review this branch and commit --- Dockerfile | 4 ++-- script/docker/compose.yaml | 4 ++-- entrypoint.sh => script/docker/entrypoint.sh | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename entrypoint.sh => script/docker/entrypoint.sh (100%) diff --git a/Dockerfile b/Dockerfile index 13daf5f..c4f2a75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,6 @@ COPY . /app RUN pip install -r requirements.txt -RUN chmod +x /app/entrypoint.sh +RUN chmod +x /app/script/docker/entrypoint.sh -ENTRYPOINT ["/app/entrypoint.sh"] +ENTRYPOINT ["/app/script/docker/entrypoint.sh"] diff --git a/script/docker/compose.yaml b/script/docker/compose.yaml index c4e4a20..05f584a 100644 --- a/script/docker/compose.yaml +++ b/script/docker/compose.yaml @@ -16,14 +16,14 @@ services: image: ollama/ollama:0.5.1 volumes: - ./ollama:/root/.ollama - - ./ollama-entrypoint.sh:/entrypoint.sh + - ./ollama-entrypoint.sh:./entrypoint.sh container_name: ollama pull_policy: always tty: true restart: always entrypoint: - /usr/bin/bash - - /entrypoint.sh + - /script/docker/entrypoint.sh expose: - 11434 healthcheck: diff --git a/entrypoint.sh b/script/docker/entrypoint.sh similarity index 100% rename from entrypoint.sh rename to script/docker/entrypoint.sh