Skip to content

Commit fdeac86

Browse files
authored
fix: add logging files to Dockerfile (#139)
fixes #138 Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent c118284 commit fdeac86

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,15 @@ RUN python3 -m pip install --no-cache-dir https://github.com/abetlen/llama-cpp-p
4040
RUN sed -i '/llama_cpp_python/d' requirements.txt
4141
RUN python3 -m pip install --no-cache-dir -r requirements.txt && python3 -m pip cache purge
4242

43+
# Create an empty logs dir
44+
RUN mkdir logs
45+
4346
# Copy application files
4447
COPY context_chat_backend context_chat_backend
4548
COPY main.py .
4649
COPY main_em.py .
4750
COPY config.?pu.yaml .
51+
COPY logger_config.yaml .
4852
COPY hwdetect.sh .
4953

5054
ENTRYPOINT [ "./dockerfile_scripts/entrypoint.sh" ]

0 commit comments

Comments
 (0)