Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -4
Dockerfile
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
-
WORKDIR /
|
| 3 |
-
COPY
|
| 4 |
-
RUN pip install --no-cache-dir -
|
| 5 |
COPY . .
|
| 6 |
-
|
|
|
|
|
|
|
|
|
| 1 |
FROM python:3.11-slim
|
| 2 |
+
WORKDIR /app
|
| 3 |
+
COPY requirements.txt .
|
| 4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
COPY . .
|
| 6 |
+
# فتح المنفذ المطلوب
|
| 7 |
+
EXPOSE 7860
|
| 8 |
+
CMD ["python", "main.py"]
|