Spaces:
Paused
Paused
Commit
·
2ee651b
1
Parent(s):
0e101f3
Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
|
|
|
| 3 |
WORKDIR /code
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
| 1 |
+
FROM nvidia/cuda:11.1.1-cudnn8-runtime-ubuntu20.04
|
| 2 |
|
| 3 |
+
# Set up your working directory
|
| 4 |
WORKDIR /code
|
| 5 |
|
| 6 |
+
# Install any other dependencies you need
|
| 7 |
+
# For example, let's say you want to install Python and pip
|
| 8 |
+
RUN apt-get update && \
|
| 9 |
+
apt-get install -y python3 python3-pip
|
| 10 |
+
|
| 11 |
COPY ./requirements.txt /code/requirements.txt
|
| 12 |
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|