exclude .env file with potentionally sensitive information like LLM API KEYS
This commit is contained in:
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:
|
||||||
|
Reference in New Issue
Block a user