Spaces:
Runtime error
Runtime error
FROM python:3.12.7-alpine | |
# Copy files into the /ai-backend directory | |
COPY . /ai-backend | |
WORKDIR /ai-backend | |
# Install pip and dependencies | |
RUN pip install --upgrade pip | |
RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
# Grant all permissions only to the /ai-backend directory | |
RUN chmod -R 777 /ai-backend | |
CMD ["python3", "main.py"] | |