mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
b77e6adf3a
* Added Docker container configuration files * Update Dockerfile Copy and install requirements * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated Docker devcontainer configuration * Update requierements.txt * Update Dockerfile * Update Dockerfile * Update .devcontainer/devcontainer.json Co-authored-by: Christian Clauss <cclauss@me.com> * Update Dockerfile * Update Dockerfile. Add linebreak --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
7 lines
349 B
Docker
7 lines
349 B
Docker
# https://github.com/microsoft/vscode-dev-containers/blob/main/containers/python-3/README.md
|
|
ARG VARIANT=3.11-bookworm
|
|
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
|
|
COPY requirements.txt /tmp/pip-tmp/
|
|
RUN python3 -m pip install --upgrade pip \
|
|
&& python3 -m pip install --no-cache-dir install ruff -r /tmp/pip-tmp/requirements.txt
|