File size: 611 Bytes
5aa316f
 
 
 
 
 
7782384
 
aa938bc
7782384
3333d37
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
# 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 "foo" &&\
  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

# Set the command to run your Streamlit app
CMD ["python3", "app.py"]