update: env error
This commit is contained in:
+2
-1
@@ -38,7 +38,8 @@ RUN uv venv --seed --python 3.12 /opt/venv/python3.12 && \
|
|||||||
--display-name="Python 3.12" \
|
--display-name="Python 3.12" \
|
||||||
|
|
||||||
# 删除主服务kernel
|
# 删除主服务kernel
|
||||||
RUN /app/.venv/bin/jupyter kernelspec remove python3 -f || true
|
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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user