update files

This commit is contained in:
2025-05-23 18:06:04 +02:00
parent 83a4fd8b87
commit ef889448bd
3 changed files with 34 additions and 4 deletions

View File

@@ -7,11 +7,13 @@ WORKDIR /app
# Copy the application files into the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Install Poetry for dependency management
RUN pip install --no-cache-dir uv
RUN uv sync --locked --all-extras --dev --deploy
# Expose the port the app runs on
EXPOSE 5001
# Set the default command to run the application
CMD ["python", "src/app.py"]
# Set the default command to run the application using uvicorn
CMD ["uv", "run", "uvicorn", "src.app:app", "--host", "0.0.0.0", "--port", "5001"]