Company-Sentiment / Dockerfile
sidmanale643's picture
Update Dockerfile
c6bcfe7 verified
raw
history blame contribute delete
310 Bytes
# Use the official Python image
FROM python:3.11-slim
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Expose Streamlit port
EXPOSE 8080
# Start Streamlit service
CMD ["streamlit", "run", "app.py"]