superkart-frontend / Dockerfile.streamlit
pawanmall's picture
Upload folder using huggingface_hub
81eee3b verified
raw
history blame contribute delete
528 Bytes
# deployment_files/Dockerfile.streamlit
FROM python:3.9-slim
WORKDIR /app
# Copy the Streamlit app file
COPY deployment_files/streamlit_app.py /app/
# Copy the requirements file
COPY deployment_files/requirements.txt /app/
# Install any needed packages specified in requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Expose the default Streamlit port
EXPOSE 8501
# Command to run the Streamlit application
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]