14 lines
313 B
Docker
14 lines
313 B
Docker
# Use a Python base image
|
|
FROM python:3.11-slim
|
|
|
|
# Set the correct working directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install uv directly using pip
|
|
RUN pip install uv
|
|
|
|
# Common helper modules to speed up future builds
|
|
COPY requirements.txt .
|
|
|
|
# Install dependencies using uv
|
|
RUN uv pip install --system -r requirements.txt |