File size: 436 Bytes
dd61af5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
# SPDX-License-Identifier: Apache-2.0
#

# Use a specific container image for the app
FROM python:latest

# Set the main working directory inside the container
WORKDIR /app

# Copy all files into the container
COPY . .

# Install all dependencies
RUN pip install -r requirements.txt

# Open the port so the app can be accessed
EXPOSE 7860

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