ollama-test / Dockerfile
mihirjadhav's picture
Update Dockerfile
224a139 verified
raw
history blame
387 Bytes
# Base image
FROM python:3.9
# Install essential compilers and build tools
RUN apt-get update && apt-get install -y build-base g++ gcc gfortran
WORKDIR /app
# Install dependencies
COPY requirements.txt ./
RUN pip install -r requirements.txt
# Copy your code
COPY . ./
# Expose the port used by Streamlit
EXPOSE 8501
# Start the Streamlit app
CMD ["streamlit", "run", "app.py"]