Download ui/Dockerfile from iBrokeTheCode/Image_Classifier_with_CNN: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/iBrokeTheCode/Image_Classifier_with_CNN/resolve/main/ui/Dockerfile
- Command line
-
hf download hf://spaces/iBrokeTheCode/Image_Classifier_with_CNN/ui/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/iBrokeTheCode/Image_Classifier_with_CNN/resolve/main/ui/Dockerfile
409 Bytes
| from python:3.8.13 AS base | |
| ENV PYTHONPATH=$PYTHONPATH:/src/ | |
| COPY ./requirements.txt /src/requirements.txt | |
| WORKDIR /src | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| # ๐ Uncomment for DEPLOY / Comment for DevContainers | |
| COPY ./ /src/ | |
| FROM base AS test | |
| RUN ["python", "-m", "pytest", "-v", "tests"] | |
| FROM base AS build | |
| CMD streamlit run --server.port 9090 app/image_classifier_app.py |