update: schedule add multi python
This commit is contained in:
@@ -1,2 +1,9 @@
|
|||||||
# this is not system dependences
|
# this is not system dependences
|
||||||
ipykernel
|
ipykernel
|
||||||
|
nbclient
|
||||||
|
nbformat
|
||||||
|
ipykernel
|
||||||
|
httpx
|
||||||
|
apscheduler
|
||||||
|
pymysql
|
||||||
|
loguru
|
||||||
@@ -1,4 +1,10 @@
|
|||||||
# this is not system dependences
|
# this is not system dependences
|
||||||
jupyter
|
jupyter
|
||||||
notebook
|
notebook
|
||||||
|
nbclient
|
||||||
|
nbformat
|
||||||
ipykernel
|
ipykernel
|
||||||
|
httpx
|
||||||
|
apscheduler
|
||||||
|
pymysql
|
||||||
|
loguru
|
||||||
@@ -1,2 +1,9 @@
|
|||||||
# this is not system dependences
|
# this is not system dependences
|
||||||
ipykernel
|
ipykernel
|
||||||
|
nbclient
|
||||||
|
nbformat
|
||||||
|
ipykernel
|
||||||
|
httpx
|
||||||
|
apscheduler
|
||||||
|
pymysql
|
||||||
|
loguru
|
||||||
+2
-4
@@ -10,12 +10,10 @@ RUN uv venv --python 3.12 /opt/venv/python3.12 && \
|
|||||||
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv pip install --python /opt/venv/python3.12/bin/python -r extras/requirements-py312
|
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv pip install --python /opt/venv/python3.12/bin/python -r extras/requirements-py312
|
||||||
|
|
||||||
RUN uv venv --python 3.8 /opt/venv/python3.8 && \
|
RUN uv venv --python 3.8 /opt/venv/python3.8 && \
|
||||||
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv pip install --python /opt/venv/python3.8/bin/python -r extras/requirements-py38 && \
|
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv pip install --python /opt/venv/python3.8/bin/python -r extras/requirements-py38
|
||||||
/opt/venv/python3.8/bin/python -m ipykernel install --prefix=/opt/venv/python3.12 --name=python38 --display-name="python3.8"
|
|
||||||
|
|
||||||
RUN uv venv --python 3.10 /opt/venv/python3.10 && \
|
RUN uv venv --python 3.10 /opt/venv/python3.10 && \
|
||||||
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv pip install --python /opt/venv/python3.10/bin/python -r extras/requirements-py310 && \
|
UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple/" uv pip install --python /opt/venv/python3.10/bin/python -r extras/requirements-py310
|
||||||
/opt/venv/python3.10/bin/python -m ipykernel install --prefix=/opt/venv/python3.12 --name=python310 --display-name="python3.10"
|
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
CMD ["uv", "run", "--frozen", "--package", "schedule", "gunicorn", "--config", "schedule/gunicorn.conf.py", "schedule.main:app"]
|
CMD ["uv", "run", "--frozen", "--package", "schedule", "gunicorn", "--config", "schedule/gunicorn.conf.py", "schedule.main:app"]
|
||||||
|
|||||||
Reference in New Issue
Block a user