arshy commited on
Commit
13bdfc4
·
1 Parent(s): 4213e37
Files changed (1) hide show
  1. Dockerfile +12 -12
Dockerfile CHANGED
@@ -13,18 +13,18 @@ RUN pip install poetry gradio
13
 
14
  RUN git config --global --add safe.directory /app
15
 
16
- # Separately handle submodule update and checks
17
- RUN git submodule init
18
- RUN git submodule update --init --recursive
19
-
20
- # Check if the directory exists before attempting to cd
21
- RUN if [ -d "/app/olas-predict-benchmark" ]; then \
22
- cd /app/olas-predict-benchmark && git checkout fix/mech-packages; \
23
- fi
24
-
25
- RUN if [ -d "/app/olas-predict-benchmark/benchmark/mech" ]; then \
26
- cd /app/olas-predict-benchmark/benchmark/mech && git checkout main; \
27
- fi
28
 
29
  EXPOSE 7860
30
 
 
13
 
14
  RUN git config --global --add safe.directory /app
15
 
16
+ # # Separately handle submodule update and checks
17
+ # RUN git submodule init
18
+ # RUN git submodule update --init --recursive
19
+
20
+ # # Check if the directory exists before attempting to cd
21
+ # RUN if [ -d "/app/olas-predict-benchmark" ]; then \
22
+ # cd /app/olas-predict-benchmark && git checkout fix/mech-packages; \
23
+ # fi
24
+
25
+ # RUN if [ -d "/app/olas-predict-benchmark/benchmark/mech" ]; then \
26
+ # cd /app/olas-predict-benchmark/benchmark/mech && git checkout main; \
27
+ # fi
28
 
29
  EXPOSE 7860
30