Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -32
Dockerfile
DELETED
|
@@ -1,32 +0,0 @@
|
|
| 1 |
-
FROM python:3.10-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
# Install base dependencies needed for playwright install --with-deps
|
| 6 |
-
RUN apt-get update && apt-get install -y \
|
| 7 |
-
wget \
|
| 8 |
-
gnupg \
|
| 9 |
-
curl \
|
| 10 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
-
|
| 12 |
-
# Copy requirements first for caching
|
| 13 |
-
COPY requirements.txt .
|
| 14 |
-
|
| 15 |
-
# Install Python dependencies
|
| 16 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
-
|
| 18 |
-
# Set Playwright browser path and install browsers WITH system dependencies
|
| 19 |
-
ENV PLAYWRIGHT_BROWSERS_PATH=/app/.playwright-browsers
|
| 20 |
-
RUN python -m playwright install --with-deps chromium
|
| 21 |
-
|
| 22 |
-
# Copy application files
|
| 23 |
-
COPY . .
|
| 24 |
-
|
| 25 |
-
# Create data directories
|
| 26 |
-
RUN mkdir -p /app/data/figma /app/data/website /app/data/comparisons /app/reports
|
| 27 |
-
|
| 28 |
-
# Expose port
|
| 29 |
-
EXPOSE 7860
|
| 30 |
-
|
| 31 |
-
# Run the app
|
| 32 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|