Amna2024's picture
Update Dockerfile
2317a17 verified
raw
history blame contribute delete
330 Bytes
FROM python:3.10
WORKDIR /app
COPY . /app/
RUN pip install --no-cache-dir --upgrade -r requirements.txt
# Expose the port Streamlit will run on
EXPOSE 8501
# Command to run Streamlit app when the container starts
CMD ["streamlit", "run", "streamlit_app.py"]
#CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]