CoolFace
Apppublic

rasmodev/Store_Sales_Prediction_App

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1# Use the official Python image as a parent image2FROM python:3.11.3-slim3 4# Set the working directory within the container5WORKDIR /app6 7# Copy the requirements.txt file into the container8COPY ./requirements.txt /app9 10# Install the Python dependencies11RUN pip install -r /app/requirements.txt12 13# Copy your Streamlit application code into the container14COPY ./app.py /app/app.py15 16# Copy the model and key components into the container17COPY ./model_and_scaler.pkl /app/model_and_scaler.pkl18 19# Expose port 8000 for the FastAPI application20EXPOSE 786021 22# Command to start the Streamlit app23CMD ["streamlit", "run", "--server.port", "7860", "app.py"]