Spaces:
Running
Running
# Example Dockerfile Layer | |
RUN apt-get update && apt-get install -y --no-install-recommends python3-pip python3-setuptools python3-wheel && rm -rf /var/lib/apt/lists/* \ | |
&& python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel | |
# Now copy requirements and install | |
COPY requirements.txt /tmp/requirements.txt | |
RUN pip install --no-cache-dir -r /tmp/requirements.txt |