FROM python:3.11 | |
WORKDIR /app | |
# Install unzip | |
RUN apt-get update && apt-get install -y unzip | |
# Copy all files | |
COPY ai.zip ./ | |
COPY setup.sh ./ | |
# Unzip | |
RUN chmod +x setup.sh && ./setup.sh | |
# Install Python dependencies | |
RUN pip install --no-cache-dir -r requirements.txt | |
CMD ["python", "app.py"] |