Files
Fun-ASR/Dockerfile
vera 7879751126
Some checks failed
Build container / build-docker (push) Failing after 28s
feat: api
2026-02-10 17:56:37 +08:00

21 lines
420 B
Docker

FROM python:3.12-slim
RUN apt-get update && apt-get -y install \
ffmpeg \
&& rm -rf /var/lib/apt/lists/*
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Create app directory
WORKDIR /app
# Copy dependency definition files
COPY pyproject.toml uv.lock ./
# Install dependencies
ENV UV_HTTP_TIMEOUT=1200
RUN uv sync
# Copy the rest of the application
COPY . .
EXPOSE 5000
CMD [ "uv", "run", "api.py" ]