Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update Dockerfile
Browse files- Dockerfile +15 -0
 
    	
        Dockerfile
    CHANGED
    
    | 
         @@ -7,6 +7,21 @@ ENV DEBIAN_FRONTEND=noninteractive 
     | 
|
| 7 | 
         | 
| 8 | 
         
             
            WORKDIR /app
         
     | 
| 9 | 
         | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 10 | 
         
             
            # Use the variables for the model URL and name
         
     | 
| 11 | 
         
             
            RUN wget ${MODEL_URL}/${MODEL_NAME}
         
     | 
| 12 | 
         | 
| 
         | 
|
| 7 | 
         | 
| 8 | 
         
             
            WORKDIR /app
         
     | 
| 9 | 
         | 
| 10 | 
         
            +
            # Update and install necessary dependencies
         
     | 
| 11 | 
         
            +
            RUN apt update && \
         
     | 
| 12 | 
         
            +
                apt install --no-install-recommends -y \
         
     | 
| 13 | 
         
            +
                    build-essential \
         
     | 
| 14 | 
         
            +
                    python3 \
         
     | 
| 15 | 
         
            +
                    python3-pip \
         
     | 
| 16 | 
         
            +
                    wget \
         
     | 
| 17 | 
         
            +
                    curl \
         
     | 
| 18 | 
         
            +
                    git \
         
     | 
| 19 | 
         
            +
                    cmake \
         
     | 
| 20 | 
         
            +
                    zlib1g-dev \
         
     | 
| 21 | 
         
            +
                    libblas-dev && \
         
     | 
| 22 | 
         
            +
                apt clean && \
         
     | 
| 23 | 
         
            +
                rm -rf /var/lib/apt/lists/*
         
     | 
| 24 | 
         
            +
             
     | 
| 25 | 
         
             
            # Use the variables for the model URL and name
         
     | 
| 26 | 
         
             
            RUN wget ${MODEL_URL}/${MODEL_NAME}
         
     | 
| 27 | 
         |