Removed unnecessary files from docker
This commit is contained in:
parent
58f1058198
commit
5bb9d9f0c0
1 changed files with 4 additions and 1 deletions
|
|
@ -23,8 +23,11 @@ WORKDIR /app
|
|||
|
||||
# Copy only necessary files from builder
|
||||
COPY --from=builder /root/.local /root/.local
|
||||
COPY . .
|
||||
COPY ./lightrag ./lightrag
|
||||
COPY setup.py .
|
||||
COPY .env .
|
||||
|
||||
RUN pip install .
|
||||
# Make sure scripts in .local are usable
|
||||
ENV PATH=/root/.local/bin:$PATH
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue