# Use a Python Alpine base image FROM python:3.13-alpine # Set the working directory in the container WORKDIR /app # Install necessary system dependencies RUN apk add --no-cache \ build-base \ libffi-dev \ musl-dev \ libressl-dev \ tk-dev \ tcl-dev \ xorg-server \ xauth \ xvfb \ && pip install --upgrade pip # Copy the requirements file and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy the application code COPY src/ . # Expose the port your application listens on (if applicable) # EXPOSE 8000 # Define the command to run your application CMD ["python", "main.py"]