Spaces:
Running
Running
Download Dockerfile from phihung/htmx_examples: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/spaces/phihung/htmx_examples/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/phihung/htmx_examples/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/phihung/htmx_examples/resolve/main/Dockerfile
405 Bytes
| FROM python:3.11-slim | |
| COPY --chown=user --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| WORKDIR /app | |
| ADD uv.lock /app/uv.lock | |
| ADD pyproject.toml /app/pyproject.toml | |
| RUN uv sync --no-dev --frozen --no-install-project | |
| COPY --chown=user public ./public | |
| COPY --chown=user src ./src | |
| RUN touch README.md | |
| RUN uv sync --no-dev --frozen | |
| CMD [".venv/bin/start_tutorial"] |