diff --git a/Dockerfile b/Dockerfile index 84a73ef..cb47db3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ FROM python:3.12-alpine WORKDIR /app # Install system dependencies -RUN apt-get update && apt-get install -y \ - gcc uv +RUN apk add --no-cache gcc musl-dev python3-dev + +# Install uv via pip (since it's not an Alpine package) +RUN pip install uv COPY pyproject.toml . RUN uv init @@ -13,4 +15,4 @@ COPY . . EXPOSE 8000 -CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file