File size: 318 Bytes
85e7180
f3774ff
85e7180
f3774ff
 
85e7180
 
f3774ff
85e7180
f3774ff
 
85e7180
 
f3774ff
85e7180
f3774ff
 
85e7180
f3774ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.10-slim

# Set working directory
WORKDIR /app

# Copy everything to /app
COPY . /app

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

# Make sure /data exists
RUN mkdir -p /data

# Expose the port your Flask app runs on
EXPOSE 7860

# Run the app
CMD ["python", "app.py"]