Spaces:
Sleeping
Sleeping
Removed unused commands from docker file
Browse files- Dockerfile +0 -11
Dockerfile
CHANGED
@@ -16,10 +16,6 @@ RUN apt-get update && apt-get install -y \
|
|
16 |
&& apt-get clean \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
19 |
-
# Install Node.js and npm
|
20 |
-
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
|
21 |
-
&& apt-get install -y nodejs
|
22 |
-
|
23 |
# Set environment variable to use gcc-11
|
24 |
ENV CC=/usr/bin/gcc-11
|
25 |
|
@@ -39,13 +35,6 @@ RUN python test.py # This should result in 6 lines of * True
|
|
39 |
# Install Gradio
|
40 |
RUN pip install gradio
|
41 |
|
42 |
-
# Clone the custom Gradio component repository and build it
|
43 |
-
WORKDIR /usr/src/app
|
44 |
-
RUN git clone https://github.com/niki-amini-naieni/gradio-image-prompter-visible-boxes.git \
|
45 |
-
&& cd gradio-image-prompter-visible-boxes \
|
46 |
-
&& npm install \
|
47 |
-
&& npm run build
|
48 |
-
|
49 |
# Change back to the original working directory
|
50 |
WORKDIR /usr/src/app
|
51 |
|
|
|
16 |
&& apt-get clean \
|
17 |
&& rm -rf /var/lib/apt/lists/*
|
18 |
|
|
|
|
|
|
|
|
|
19 |
# Set environment variable to use gcc-11
|
20 |
ENV CC=/usr/bin/gcc-11
|
21 |
|
|
|
35 |
# Install Gradio
|
36 |
RUN pip install gradio
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
# Change back to the original working directory
|
39 |
WORKDIR /usr/src/app
|
40 |
|