Skip to content

Commit 3719f7e

Browse files
Refactor Dockerfiles to simplify file copying and improve build process
1 parent e7fd757 commit 3719f7e

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

DocsManager/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
1010
mv /root/.local/bin/uv /usr/local/bin/uv && \
1111
mv /root/.local/bin/uvx /usr/local/bin/uvx
1212

13-
COPY pyproject.toml ./
14-
COPY uv.lock* ./
13+
COPY . .
1514

1615
RUN uv sync --no-dev --no-cache
1716

18-
COPY . .
19-
2017
EXPOSE 8000
2118

2219
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \

RAGManager/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
1010
mv /root/.local/bin/uv /usr/local/bin/uv && \
1111
mv /root/.local/bin/uvx /usr/local/bin/uvx
1212

13-
COPY pyproject.toml ./
14-
COPY uv.lock* ./
13+
COPY . .
1514

1615
RUN uv sync --no-dev --no-cache
1716

18-
COPY . .
19-
2017
EXPOSE 8000
2118

2219
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \

0 commit comments

Comments
 (0)