File size: 382 Bytes
393b358
 
 
 
 
 
 
1
2
3
4
5
6
7
# 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