Spaces:
Sleeping
Sleeping
Download Dockerfile.dev from AlaBoussoffara/Mini-Transformer: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/AlaBoussoffara/Mini-Transformer/resolve/main/Dockerfile.dev
- Command line
-
hf download hf://spaces/AlaBoussoffara/Mini-Transformer/Dockerfile.dev
-
curl -L -o Dockerfile.dev https://huggingface.co/spaces/AlaBoussoffara/Mini-Transformer/resolve/main/Dockerfile.dev
442 Bytes
| # syntax=docker/dockerfile:1 | |
| FROM python:3.10-slim | |
| ENV DEBIAN_FRONTEND=noninteractive \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| git build-essential && \ | |
| rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY pyproject.toml README.md LICENSE ./ | |
| COPY src ./src | |
| RUN pip install -U pip && pip install -e .[dev] | |
| COPY . . | |
| CMD ["bash"] | |