Spaces:
Sleeping
Sleeping
Commit ·
c4f2e5f
1
Parent(s): c001e97
Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10
|
| 2 |
+
|
| 3 |
+
RUN apt update && apt install -y python3-pip
|
| 4 |
+
RUN pip3 install numpy torch torchvision flask pillow
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
WORKDIR /app
|
| 8 |
+
COPY files .
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
CMD ["python3", "inference.py" ]
|