Spaces:
Sleeping
Sleeping
Download Dockerfile from taigatakano/labtool_docker: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/spaces/taigatakano/labtool_docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/taigatakano/labtool_docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/taigatakano/labtool_docker/resolve/main/Dockerfile
478 Bytes
| FROM python:3.10.15-slim-bullseye AS builder_image | |
| RUN apt-get update && apt-get install -y git curl ffmpeg zip | |
| RUN git config --global --add safe.directory /app | |
| RUN python3 -m pip install --upgrade pip | |
| RUN python3 -m pip install poetry \ | |
| && poetry config virtualenvs.create false | |
| WORKDIR /app | |
| COPY pyproject.toml poetry.lock ./ | |
| RUN poetry install --no-root | |
| FROM builder_image AS release_image | |
| COPY --from=builder_image /app /app | |
| COPY . /app/ | |
| CMD [ "python3", "app.py" ] |