Spaces:
Runtime error
Runtime error
Download Dockerfile from adtyalan/prototipeProdukAI: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/spaces/adtyalan/prototipeProdukAI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/adtyalan/prototipeProdukAI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/adtyalan/prototipeProdukAI/resolve/main/Dockerfile
360 Bytes
| # Gunakan base image Python | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Salin dan install dependencies | |
| COPY requirements.txt /app/ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Salin seluruh aplikasi ke dalam container | |
| COPY src /app/src | |
| # Jalankan Streamlit | |
| CMD ["streamlit", "run", "src/streamlit_app.py", "--server.port", "7860"] | |