22 lines
407 B
Docker
22 lines
407 B
Docker
FROM python:3.13-alpine
|
|
|
|
# Install uv
|
|
RUN pip install uv
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy project files
|
|
COPY pyproject.toml ./
|
|
COPY README.md ./
|
|
|
|
# Install dependencies using uv without venv
|
|
RUN uv pip compile pyproject.toml -o requirements.txt && \
|
|
uv pip install --system -r requirements.txt
|
|
|
|
# Copy the rest of the application
|
|
COPY . .
|
|
|
|
# Default command
|
|
CMD ["python", "tests/test.py"]
|