Spaces:
Runtime error
Runtime error
updates
Browse files- 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 |
-
|
23 |
-
|
24 |
-
|
25 |
-
RUN if [ -d "/app/olas-predict-benchmark/benchmark/mech" ]; then \
|
26 |
-
|
27 |
-
|
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 |
|