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.
This commit is contained in:
parent
7d9d31b6f3
commit
74d615234e
1 changed files with 0 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue