docker it up

This commit is contained in:
C F committed 2025-12-17 14:56:21 -08:00
1 parent 4e94468315
commit 6bb11a206b
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
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"]