Download Dockerfile from y59/stream: direct link, hf CLI and curl.
- Browser
- Download file 823 Bytes
-
https://huggingface.co/spaces/y59/stream/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/y59/stream/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/y59/stream/resolve/main/Dockerfile
823 Bytes
| FROM tsaridas/stremio-docker:latest | |
| # Install Node.js and utilities for our proxy and debugging | |
| RUN apk add --no-cache nodejs npm findutils grep netcat-openbsd | |
| # Create a simple proxy server | |
| WORKDIR /app | |
| COPY proxy.js . | |
| COPY proxy-only.js . | |
| COPY stremio-minimal.js . | |
| COPY startup.sh . | |
| # Make the workspace writable | |
| RUN chmod -R 777 /app | |
| # Set environment variables for Stremio | |
| ENV NO_CORS=1 | |
| ENV CASTING_DISABLED=1 | |
| ENV DISABLE_CACHING=1 | |
| ENV DEBUG=1 | |
| ENV NODE_ENV=production | |
| ENV STREMIO_USER_DATA_DIR=/tmp/.stremio-server | |
| ENV HOME=/tmp | |
| # Create writable directory for Stremio server data | |
| RUN mkdir -p /tmp/.stremio-server && \ | |
| chmod -R 777 /tmp/.stremio-server | |
| # Make startup script executable | |
| RUN chmod +x /app/startup.sh | |
| # Expose HF Spaces port | |
| EXPOSE 7860 | |
| # Use our custom startup script | |
| CMD ["/app/startup.sh"] |