File size: 292 Bytes
6b27b28
6f2393d
6b27b28
6f2393d
 
6b27b28
6f2393d
 
6b27b28
 
6f2393d
6b27b28
53881e7
6f2393d
6b27b28
6f2393d
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Dockerfile (updated)

FROM python:3.10-slim
WORKDIR /app

# Copy all project files
COPY . /app

# Change ownership to allow writing
RUN chmod -R a+w /app

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

# Expose default port
EXPOSE 7860

CMD ["python", "app.py"]