Spaces:
Running
Running
Download Dockerfile from arcsu1/portfolio_workers: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/arcsu1/portfolio_workers/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arcsu1/portfolio_workers/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arcsu1/portfolio_workers/resolve/main/Dockerfile
371 Bytes
| FROM python:3.10-alpine | |
| COPY --from=ghcr.io/astral-sh/uv:0.13.0 /uv /uvx /bin/ | |
| COPY . . | |
| RUN uv sync --locked | |
| EXPOSE 7860 | |
| # WORKDIR /src/app | |
| CMD ["sh", "-c", "uv run alembic upgrade head && uv run uvicorn src.portfolio_workers.app:app --host 0.0.0.0 --port 7860"] | |
| # CMD ["uv", "run", "uvicorn", "src.portfolio_workers.app:app", "--host", "0.0.0.0", "--port", "8000"] |