GenAIProject / Dockerfile
BinduRP's picture
Update Dockerfile
d29f217 verified
raw
history blame contribute delete
443 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install unzip utility
RUN apt-get update && apt-get install -y unzip && rm -rf /var/lib/apt/lists/*
# Copy all files
COPY . .
# Unzip vectorstore
RUN unzip vectorstore.zip -d vectorstore
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Streamlit port
EXPOSE 8501
# Run Streamlit
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]