Spaces:
Runtime error
Runtime error
Download Dockerfile from Materiai/AM-Defects-Google: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/Materiai/AM-Defects-Google/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Materiai/AM-Defects-Google/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Materiai/AM-Defects-Google/resolve/main/Dockerfile
394 Bytes
| FROM python:3.10-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| libjpeg62-turbo-dev \ | |
| zlib1g-dev \ | |
| libpng-dev \ | |
| libstdc++6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /code | |
| COPY requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . /code | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |