Download Dockerfile from BalabolS/artem: direct link, hf CLI and curl.
- Browser
- Download file 615 Bytes
-
https://huggingface.co/spaces/BalabolS/artem/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BalabolS/artem/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BalabolS/artem/resolve/main/Dockerfile
615 Bytes
| FROM python:3.7.3-stretch | |
| # Maintainer info | |
| LABEL maintainer="erickson_ruaroii@dlsu.edu.ph" | |
| # Make working directories | |
| RUN mkdir -p /food-vision-api | |
| WORKDIR /food-vision-api | |
| # Upgrade pip with no cache | |
| RUN pip install --no-cache-dir -U pip | |
| # Copy application requirements file to the created working directory | |
| COPY requirements.txt . | |
| # Install application dependencies from the requirements file | |
| RUN pip install -r requirements.txt | |
| # Copy every file in the source folder to the created working directory | |
| COPY . . | |
| # Run the python application | |
| CMD ["uvicorn", "main:app","--host","0.0.0.0","--port","7860"] |