File size: 474 Bytes
82bc3c8
 
 
 
 
 
 
 
 
 
 
 
 
 
dc568c3
82bc3c8
 
fb41dcd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use an official Python runtime as a parent image
FROM python:3.9-slim-buster


# Set the working directory in the container
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY  . /app

# Install any needed packages in requirements.txt
RUN pip install pip install --no-cache-dir --upgrade -r requirements.txt

# Make port 7000-8000 available 
EXPOSE 7860

# Define the command to run the Flask app
CMD ["flask", "--app", "src\app.py" "run"]