File size: 379 Bytes
ea7ba48
0c72715
 
ea7ba48
 
 
 
 
 
0c72715
 
ea7ba48
0c72715
 
 
ea7ba48
0c72715
 
ea7ba48
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use official lightweight Python image
FROM python:3.10-slim

# Set environment variables
ENV HF_HOME=/data
ENV PYTHONUNBUFFERED=1


# Set working directory
WORKDIR /app

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

# Copy code
COPY . .

# Ensure run.sh is executable
RUN chmod +x run.sh

# Default command
CMD ["./run.sh"]