# Base Image
FROM python:3.13.1-slim

COPY requirements.txt requirements.txt

# Installing packages
RUN pip install --upgrade pip
RUN apt-get update && apt-get install -y build-essential libssl-dev libffi-dev python-dev-is-python3
RUN pip install -r requirements.txt

# Copying files
COPY . .

# Start Flask App
# CMD ["python", "app.py"]
CMD ["gunicorn", "--config", "gunicorn_config.py", "app:app"]
# Expose Port
EXPOSE 8000
