openai/openai-python
Publicmirrored fromhttps://github.com/openai/openai-pythonAvailable
.devcontainer/Dockerfile
9lines · modecode
| 1 | ARG VARIANT="3.9" |
| 2 | FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} |
| 3 | |
| 4 | USER vscode |
| 5 | |
| 6 | RUN curl -sSf https://rye.astral.sh/get | RYE_VERSION="0.44.0" RYE_INSTALL_OPTION="--yes" bash |
| 7 | ENV PATH=/home/vscode/.rye/shims:$PATH |
| 8 | |
| 9 | RUN echo "[[ -d .venv ]] && source .venv/bin/activate || export PATH=\$PATH" >> /home/vscode/.bashrc |