frontend / Dockerfile
logeswari's picture
updated
01b0927
raw
history blame contribute delete
406 Bytes
# Use a lightweight Python image as the base
FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy the project files to the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit's default port
EXPOSE 8501
# Command to run the Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]