Commit
·
f4a8d65
1
Parent(s):
f533b76
exclude .env file with potentionally sensitive information like LLM API KEYS
Browse files- .dockerignore +1 -0
- Dockerfile +0 -1
- docker-compose.yml +1 -0
.dockerignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.env
|
Dockerfile
CHANGED
@@ -33,7 +33,6 @@ WORKDIR /app
|
|
33 |
COPY --from=builder /root/.local /root/.local
|
34 |
COPY ./lightrag ./lightrag
|
35 |
COPY setup.py .
|
36 |
-
COPY .env .
|
37 |
|
38 |
RUN pip install .
|
39 |
# Make sure scripts in .local are usable
|
|
|
33 |
COPY --from=builder /root/.local /root/.local
|
34 |
COPY ./lightrag ./lightrag
|
35 |
COPY setup.py .
|
|
|
36 |
|
37 |
RUN pip install .
|
38 |
# Make sure scripts in .local are usable
|
docker-compose.yml
CHANGED
@@ -8,6 +8,7 @@ services:
|
|
8 |
volumes:
|
9 |
- ./data/rag_storage:/app/data/rag_storage
|
10 |
- ./data/inputs:/app/data/inputs
|
|
|
11 |
env_file:
|
12 |
- .env
|
13 |
environment:
|
|
|
8 |
volumes:
|
9 |
- ./data/rag_storage:/app/data/rag_storage
|
10 |
- ./data/inputs:/app/data/inputs
|
11 |
+
- .env:/app/.env
|
12 |
env_file:
|
13 |
- .env
|
14 |
environment:
|