Investors_linkedin / Dockerfile
Lebossoti's picture
Create Dockerfile
275ba4d verified
raw
history blame contribute delete
495 Bytes
FROM python:3.10-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
curl \
unzip \
chromium-driver \
chromium
# Set environment variables for Selenium
ENV CHROME_DRIVER_PATH=/usr/bin/chromedriver
ENV CHROME_BINARY_PATH=/usr/bin/chromium
# Install Python packages
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy your app code
COPY . /app
WORKDIR /app
# Run Streamlit
CMD streamlit run app.py --server.port $PORT --server.address 0.0.0.0