update: clean dockerfile

This commit is contained in:
tao.chen
2026-08-11 18:57:34 +08:00
parent 05091c425a
commit 38cd06ee7a
-4
View File
@@ -37,9 +37,5 @@ RUN uv venv --seed --python 3.12 /opt/venv/python3.12 && \
--name=python312 \ --name=python312 \
--display-name="Python 3.12" --display-name="Python 3.12"
# 删除主服务kernel
RUN rm -rf /app/.venv/share/jupyter/kernels/python3 && \
/app/.venv/bin/jupyter kernelspec list
EXPOSE 8000 EXPOSE 8000
CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"] CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"]