We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0edcea1 commit 8ecff50Copy full SHA for 8ecff50
docker/Dockerfile
@@ -42,4 +42,4 @@ RUN pip install --no-cache-dir uv==0.7.20 && \
42
WORKDIR /app
43
EXPOSE 8000
44
USER cms:cms
45
-CMD ["bash", "-c", "source /.venv/bin/activate && ./entrypoint.sh"]
+CMD ["bash", "-c", "./entrypoint.sh"]
docker/entrypoint/serve.sh
@@ -28,7 +28,9 @@ else
28
streamable=""
29
fi
30
31
-python cli/cli.py serve \
+source /.venv/bin/activate
32
+
33
+exec /.venv/bin/python cli/cli.py serve \
34
--model-type "${CMS_MODEL_TYPE}" \
35
--model-name "${CMS_MODEL_NAME}" \
36
--model-path "${CMS_MODEL_FILE}" \
0 commit comments