urld / Dockerfile
acecalisto3's picture
Create Dockerfile
393b358 verified
raw
history blame contribute delete
382 Bytes
# 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