13 lines
342 B
Docker
13 lines
342 B
Docker
FROM python:3.9-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
# Install dependencies required for ingestion and DB
|
|
RUN pip install streamlit pandas requests python-dotenv
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
# Start monitor in background and streamlit in foreground
|
|
CMD ["sh", "-c", "python monitor.py & streamlit run app.py --server.port=8501 --server.address=0.0.0.0"]
|