exclude .env file with potentionally sensitive information like LLM API KEYS
This commit is contained in:
parent
be7a001ad8
commit
4d0a316717
3 changed files with 2 additions and 1 deletions
1
.dockerignore
Normal file
1
.dockerignore
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
.env
|
||||||
|
|
@ -33,7 +33,6 @@ WORKDIR /app
|
||||||
COPY --from=builder /root/.local /root/.local
|
COPY --from=builder /root/.local /root/.local
|
||||||
COPY ./lightrag ./lightrag
|
COPY ./lightrag ./lightrag
|
||||||
COPY setup.py .
|
COPY setup.py .
|
||||||
COPY .env .
|
|
||||||
|
|
||||||
RUN pip install .
|
RUN pip install .
|
||||||
# Make sure scripts in .local are usable
|
# Make sure scripts in .local are usable
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/rag_storage:/app/data/rag_storage
|
- ./data/rag_storage:/app/data/rag_storage
|
||||||
- ./data/inputs:/app/data/inputs
|
- ./data/inputs:/app/data/inputs
|
||||||
|
- .env:/app/.env
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue