Spaces:
No application file
No application file
Delete Dockerfile
Browse files- Dockerfile +0 -45
Dockerfile
DELETED
@@ -1,45 +0,0 @@
|
|
1 |
-
# Use an NVIDIA CUDA base image with CUDA 11.8 and Ubuntu 20.04
|
2 |
-
# FROM mhamilton723/featup:latest
|
3 |
-
FROM ubuntu:latest
|
4 |
-
|
5 |
-
# Set a working directory
|
6 |
-
WORKDIR /app
|
7 |
-
|
8 |
-
|
9 |
-
# RUN git clone https://github.com/lorocks/DenseAV.git &&\
|
10 |
-
|
11 |
-
RUN ls
|
12 |
-
|
13 |
-
RUN cd DenseAV &&\
|
14 |
-
echo "foo2" &&\
|
15 |
-
pip3 install -e . &&\
|
16 |
-
pip3 install gradio
|
17 |
-
|
18 |
-
# Copy your application files into the container
|
19 |
-
COPY . /app
|
20 |
-
|
21 |
-
# Expose the port Streamlit will run on
|
22 |
-
EXPOSE 7860
|
23 |
-
|
24 |
-
RUN mkdir -m 700 flagged
|
25 |
-
|
26 |
-
ENV PYTHONUNBUFFERED=1 \
|
27 |
-
GRADIO_ALLOW_FLAGGING=never \
|
28 |
-
GRADIO_NUM_PORTS=1 \
|
29 |
-
GRADIO_SERVER_NAME=0.0.0.0 \
|
30 |
-
SYSTEM=spaces
|
31 |
-
|
32 |
-
|
33 |
-
RUN useradd -m -u 1000 user
|
34 |
-
USER user
|
35 |
-
ENV HOME=/home/user \
|
36 |
-
PATH=/home/user/.local/bin:$PATH
|
37 |
-
|
38 |
-
WORKDIR $HOME/app
|
39 |
-
|
40 |
-
COPY --chown=user . $HOME/app
|
41 |
-
|
42 |
-
RUN ls
|
43 |
-
|
44 |
-
# Set the command to run your Streamlit app
|
45 |
-
CMD ["python3", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|