shubhamgs's picture
Update Dockerfile
9f2f376 verified
raw
history blame contribute delete
388 Bytes
# Use a lightweight Python image
FROM python:3.10
# Set the working directory
WORKDIR /app
# Copy all files into the container
COPY . /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt && pip install --upgrade pip
# Expose the port Streamlit runs on
EXPOSE 7531
# Command to run the app
CMD streamlit run app.py --server.port 7531 --server.address 0.0.0.0