From 74d615234eff7243d738ac5ae0c598d7dd5b1ad2 Mon Sep 17 00:00:00 2001 From: daohp Date: Wed, 3 Dec 2025 14:27:42 +0700 Subject: [PATCH] refactor: Clean up Dockerfile by removing service code and initialization commands - Removed the service code copy and database initialization commands from the Dockerfile to streamline the build process. - Maintained environment variable settings and API port exposure for continued functionality. --- Dockerfile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd5a5e03..06461bc7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -108,13 +108,6 @@ ENV TIKTOKEN_CACHE_DIR=/app/data/tiktoken ENV WORKING_DIR=/app/data/rag_storage ENV INPUT_DIR=/app/data/inputs - -# Copy service code -COPY service/ ./service/ - -RUN python -m service.init_db -RUN python -m service.main - # Expose API port EXPOSE 9621