Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Example Dockerfile Layer
|
2 |
+
RUN apt-get update && apt-get install -y --no-install-recommends python3-pip python3-setuptools python3-wheel && rm -rf /var/lib/apt/lists/* \
|
3 |
+
&& python3 -m pip install --no-cache-dir --upgrade pip setuptools wheel
|
4 |
+
|
5 |
+
# Now copy requirements and install
|
6 |
+
COPY requirements.txt /tmp/requirements.txt
|
7 |
+
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|