File size: 350 Bytes
eb4ed4a
42738ce
3725258
 
42738ce
3725258
42738ce
3725258
889ddd0
3725258
889ddd0
3725258
 
42738ce
083582d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"]