File size: 354 Bytes
4f36482
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.12.1

# Set the working directory
WORKDIR /code

# Copy the requirements file
COPY requirements.txt .

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

# Copy the source code and data
COPY src/ src/
COPY data/ data/

#Expose the port
# EXPOSE 7860
#

# Set the entry point command
CMD ["python", "src/main.py"]