lucky0146 commited on
Commit
afa0f7c
·
verified ·
1 Parent(s): 97d5c17

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -10
Dockerfile CHANGED
@@ -14,21 +14,16 @@ RUN apt-get update && apt-get install -y \
14
  RUN git clone https://github.com/sczhou/CodeFormer
15
  WORKDIR /CodeFormer
16
 
17
- # Create directory structure and version file
18
- RUN mkdir -p basicsr/basicsr && \
19
- echo "1.3.2" > basicsr/basicsr/VERSION
 
20
 
21
- # Rest of the Dockerfile remains the same
22
- # ...
23
-
24
- # Install core dependencies from CodeFormer's requirements.txt
25
  RUN pip install --upgrade pip && \
26
  pip install -r requirements.txt && \
27
  pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
28
 
29
- # Create version file for BasicSR
30
- RUN echo "1.3.2" > basicsr/basicsr/VERSION
31
-
32
  # Install BasicSR
33
  RUN cd basicsr && \
34
  pip install -e . && \
 
14
  RUN git clone https://github.com/sczhou/CodeFormer
15
  WORKDIR /CodeFormer
16
 
17
+ # Create required files in correct locations
18
+ RUN echo "# CodeFormer" > README.md && \
19
+ mkdir -p basicsr && \
20
+ echo "1.3.2" > basicsr/version
21
 
22
+ # Install core dependencies
 
 
 
23
  RUN pip install --upgrade pip && \
24
  pip install -r requirements.txt && \
25
  pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
26
 
 
 
 
27
  # Install BasicSR
28
  RUN cd basicsr && \
29
  pip install -e . && \