Duplicated from rr1/dpinf
49364f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.10-slim WORKDIR /app # Install dependencies RUN pip install flask requests # Copy the application code COPY app.py . # Expose the port EXPOSE 7860 # Run the application CMD ["python", "app.py"]