Spaces:
Runtime error
Runtime error
File size: 759 Bytes
5aa316f 7782384 a5bd68e 7782384 3333d37 5aa316f 353f9f6 a18c38b 5aa316f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# 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 "foo2" &&\
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"]
|