mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-31 06:33:44 +00:00
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
|