update dockerfile

This commit is contained in:
Taylor Wilsdon
2025-05-17 13:18:46 -04:00
parent 6d21a84321
commit ff296edcc9
3 changed files with 47 additions and 6 deletions

View File

@@ -1,7 +1,15 @@
FROM python:3.11-slim
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
# Copy dependency management files
COPY pyproject.toml uv.lock ./
# Install uv and dependencies
RUN pip install uv && uv sync
# Copy application code
COPY . .
# Command to run the application
CMD ["python", "main.py"]