# Use the official Stirling-PDF image FROM stirlingtools/stirling-pdf:latest # Set the port to 7860 (Hugging Face default) ENV SERVER_PORT=7860 # Expose the port EXPOSE 7860 # Create a writable directory for configs RUN mkdir -p /configs && chmod 777 /configs