# Use a Python base image
FROM python:3.12-slim-bookworm

# Set working directory
WORKDIR /app

# Copy requirements file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code
COPY . .

# Expose the port the app runs on
EXPOSE 8084

# Run the application
CMD ["python", "main.py"]
