Files
Fun-ASR/Dockerfile
vera 9d608a263f
All checks were successful
Build container / build-docker (push) Successful in 27m43s
fix: Dockerfile
2026-02-11 10:48:34 +08:00

21 lines
412 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 ./
# Install dependencies
ENV UV_HTTP_TIMEOUT=1200
RUN uv sync
# Copy the rest of the application
COPY . .
EXPOSE 5000
CMD [ "uv", "run", "api.py" ]