Vishnu Mukundan commited on
Commit ·
1b859a0
1
Parent(s): cffb823
docker
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM nvidia/cuda:12.1.0-base-ubuntu22.04
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get install -y python3 python3-pip
|
| 4 |
+
|
| 5 |
+
WORKDIR /app
|
| 6 |
+
|
| 7 |
+
COPY requirements.txt .
|
| 8 |
+
RUN pip3 install -r requirements.txt
|
| 9 |
+
|
| 10 |
+
COPY app.py .
|
| 11 |
+
|
| 12 |
+
CMD ["python3", "app.py"]
|