Download Dockerfile from kkazei/codelens: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/kkazei/codelens/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/kkazei/codelens/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/kkazei/codelens/resolve/main/Dockerfile
258 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| COPY pyproject.toml /app/ | |
| RUN pip install --no-cache-dir .[dev] | |
| COPY app /app/app | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |