File size: 320 Bytes
ca9eab4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Use the official Python image as a base image
FROM python:3.8-slim-buster

# Install MongoDB
RUN apt-get update && apt-get install -y mongodb

# Copy the app code to the image
COPY . /app
WORKDIR /app

# Install the app dependencies
RUN pip install -r requirements.txt

# Run the app
CMD ["streamlit", "run", "app.py"]