File size: 311 Bytes
3de19c3
 
 
 
 
36a92f1
 
 
3de19c3
0fadb67
f1a2338
 
 
3de19c3
36a92f1
3de19c3
 
36a92f1
53c64bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.10

# Create app directory
WORKDIR /code

# Copy all files first
COPY . .

# Install dependencies
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt

# Make app.sh executable
RUN chmod +x app.sh

# Expose port 7860
EXPOSE 7860

# Start the server
CMD ["bash", "app.sh"]