Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
FROM mcr.microsoft.com/playwright/python:v1.40.0-jammy
|
| 2 |
WORKDIR /app
|
| 3 |
-
COPY
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
RUN playwright install chromium
|
| 6 |
RUN playwright install-deps chromium
|
| 7 |
-
|
| 8 |
CMD ["python", "app.py"]
|
|
|
|
| 1 |
FROM mcr.microsoft.com/playwright/python:v1.40.0-jammy
|
| 2 |
WORKDIR /app
|
| 3 |
+
COPY . .
|
| 4 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 5 |
RUN playwright install chromium
|
| 6 |
RUN playwright install-deps chromium
|
| 7 |
+
EXPOSE 7860
|
| 8 |
CMD ["python", "app.py"]
|