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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -2
Dockerfile CHANGED
@@ -10,10 +10,17 @@ RUN apt-get update && apt-get install -y \
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- # Clone CodeFormer with submodules
14
- RUN git clone --recursive https://github.com/sczhou/CodeFormer
15
  WORKDIR /CodeFormer
16
 
 
 
 
 
 
 
 
17
  # Install core dependencies from CodeFormer's requirements.txt
18
  RUN pip install --upgrade pip && \
19
  pip install -r requirements.txt && \
 
10
  git \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ # Clone CodeFormer
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 && \