# docker build --rm -t docker.io/mavenarh/ticket_ai:latest .

# Use the official Python image as a base
FROM python:3.9-slim

# Set environment variables
#ENV PYTHONDONTWRITEBYTECODE 1
#ENV PYTHONUNBUFFERED 1

# Set the working directory in the container
WORKDIR /app

# Copy the dependencies file to the working directory
#COPY requirements.txt .

# Install any dependencies
#RUN pip install --no-cache-dir -r requirements.txt

RUN pip install Flask
RUN pip install flask_jwt_extended

# Copy the content of the local src directory to the working directory
COPY src/ .

# Expose the port the app runs on
EXPOSE 5000

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