We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168c2b9 commit 3ce9057Copy full SHA for 3ce9057
1 file changed
Dockerfile
@@ -25,9 +25,9 @@ RUN apt-get update && \
25
RUN pip install --no-cache-dir uv
26
27
COPY pyproject.toml uv.lock README.md ./
28
-COPY src ./src
29
-# Runtime deps only (project + api group).
30
-RUN uv sync --frozen --no-dev --group api
+# Install only API runtime dependencies; the training stack (torch/cuda) is not
+# needed for the web service and was causing Railway build timeouts.
+RUN uv sync --frozen --no-install-project --only-group api
31
32
33
FROM python:3.11-slim AS runtime
0 commit comments