# Start from the official StremThru image FROM ghcr.io/muniftanjim/stremthru:latest # Create the data directory and set open permissions. # The application needs to write here, but may not have permission # to create the directory itself in the Hugging Face runtime environment. RUN mkdir -p /app/data && \ chmod -R 777 /app/data # Set the port required by Hugging Face Spaces ENV PORT=7860