Spaces:
Paused
Paused
Download apps/api/Dockerfile from nathycodes/presentercoach: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/nathycodes/presentercoach/resolve/main/apps/api/Dockerfile
- Command line
-
hf download hf://spaces/nathycodes/presentercoach/apps/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nathycodes/presentercoach/resolve/main/apps/api/Dockerfile
553 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends ffmpeg build-essential libsndfile1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY src ./src | |
| COPY alembic.ini ./alembic.ini | |
| COPY migrations ./migrations | |
| COPY docker-entrypoint.sh ./docker-entrypoint.sh | |
| RUN chmod +x ./docker-entrypoint.sh | |
| ENV PYTHONPATH=/app/src | |
| ENTRYPOINT ["./docker-entrypoint.sh"] | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] | |