Ezhil24/World-population-FastAPI
0
1FROM python:3.112 3# Set the working directory inside the container4WORKDIR /app5 6# Copy all project files into the container7COPY . /app8 9# Install dependencies10RUN pip install --upgrade pip11 12RUN mkdir -p /app/logs && chmod -R 777 /app/logs13 14# Install any needed packages specified in requirements.txt15RUN pip install --no-cache-dir -r requirements.txt16 17EXPOSE 786018# Run FastAPI and Streamlit in parallel19CMD ["uvicorn" ,"main:app","--host" ,"0.0.0.0", "--port", "7860"]20 21 22 