Add git to python-slim for docker image (CI)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
520f104c61
commit
dd79077a60
@ -7,6 +7,9 @@ WORKDIR /code
|
|||||||
# Copy the requirements file to the working directory
|
# Copy the requirements file to the working directory
|
||||||
COPY ./requirements.txt /code/requirements.txt
|
COPY ./requirements.txt /code/requirements.txt
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y git
|
||||||
|
|
||||||
# Install the Python dependencies
|
# Install the Python dependencies
|
||||||
RUN pip config --user set global.progress_bar off
|
RUN pip config --user set global.progress_bar off
|
||||||
RUN pip install --no-cache-dir --prefer-binary -r /code/requirements.txt
|
RUN pip install --no-cache-dir --prefer-binary -r /code/requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user