File size: 309 Bytes
12618ab
2ef81d9
12618ab
2ef81d9
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
FROM python:3.9
COPY . /app
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the Flask application and templates directory into the container
COPY app.py .
COPY templates templates
# Expose the port the application will run on
EXPOSE 5001
CMD ["python", "app.py"]