From b03e99828086b25495a951f34b022c11898927cc Mon Sep 17 00:00:00 2001 From: Aira Catapang Date: Thu, 2 Apr 2026 04:14:45 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b6a112..2168980 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,24 +1,15 @@ -# Use the official Microsoft Playwright image (Includes all necessary Chromium dependencies) FROM mcr.microsoft.com/playwright/python:v1.58.0-jammy -# Set the working directory WORKDIR /app -# Copy requirement files first (for Docker layer caching) COPY requirements.txt . - -# Install Python packages RUN pip install --no-cache-dir -r requirements.txt -# Copy the rest of the application code COPY . . -# Set environment variables for production cloud deployment ENV HEADLESS="true" ENV PORT=7860 -# Expose the application port EXPOSE $PORT -# Run the FastAPI server via Uvicorn -CMD ["python", "main.py"] +CMD ["python", "main.py"] \ No newline at end of file