KoonJamesZ
commited on
Create Dockerfile
Browse files- Dockerfile +15 -0
Dockerfile
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11.2
|
2 |
+
|
3 |
+
WORKDIR /workspace
|
4 |
+
|
5 |
+
COPY requirements.txt .
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir torch==2.4.1
|
8 |
+
|
9 |
+
RUN pip3 install -r requirements.txt
|
10 |
+
|
11 |
+
COPY . .
|
12 |
+
|
13 |
+
EXPOSE 7860
|
14 |
+
|
15 |
+
ENTRYPOINT [ "python3", "app.py" ]
|