update: clean dockerfile
This commit is contained in:
@@ -37,9 +37,5 @@ RUN uv venv --seed --python 3.12 /opt/venv/python3.12 && \
|
||||
--name=python312 \
|
||||
--display-name="Python 3.12"
|
||||
|
||||
# 删除主服务kernel
|
||||
RUN rm -rf /app/.venv/share/jupyter/kernels/python3 && \
|
||||
/app/.venv/bin/jupyter kernelspec list
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["uv", "run", "--frozen", "--package", "runtime", "gunicorn", "--config", "runtime/gunicorn.conf.py", "runtime.main:app"]
|
||||
|
||||
Reference in New Issue
Block a user