mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Update Dockerfile
This commit is contained in:
parent
e7861954d3
commit
b914e0d953
@ -8,7 +8,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
|
|||||||
|
|
||||||
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
|
# [Optional] If your pip requirements rarely change, uncomment this section to add them to the image.
|
||||||
COPY requirements.txt /tmp/pip-tmp/
|
COPY requirements.txt /tmp/pip-tmp/
|
||||||
RUN pip3 --disable-pip-version-check --no-cache-dir install ruff -r /tmp/pip-tmp/requirements.txt
|
RUN python3 -m pip install --upgrade pip && python3 -m pip install --no-cache-dir install ruff -r /tmp/pip-tmp/requirements.txt
|
||||||
|
|
||||||
# [Optional] Uncomment this section to install additional OS packages.
|
# [Optional] Uncomment this section to install additional OS packages.
|
||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user