# Use an NVIDIA CUDA base image with CUDA 11.8 and Ubuntu 20.04 FROM mhamilton723/featup:latest # Set a working directory WORKDIR /app RUN git clone https://github.com/mhamilton723/DenseAV &&\ cd DenseAV &&\ echo "foo1" &&\ pip3 install -e . &&\ pip3 install gradio # Copy your application files into the container COPY . /app # Expose the port Streamlit will run on EXPOSE 7860 RUN mkdir -m 700 flagged ENV PYTHONUNBUFFERED=1 \ GRADIO_ALLOW_FLAGGING=never \ GRADIO_NUM_PORTS=1 \ GRADIO_SERVER_NAME=0.0.0.0 \ SYSTEM=spaces RUN useradd -m -u 1000 user USER user ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH WORKDIR $HOME/app COPY --chown=user . $HOME/app # Set the command to run your Streamlit app CMD ["python3", "app.py"]