Spaces:
Runtime error
Runtime error
updates
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -18,8 +18,8 @@ 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
|
22 |
-
cd /app/olas-predict-benchmark
|
23 |
fi
|
24 |
|
25 |
RUN if [ -d "/app/olas-predict-benchmark/benchmark/mech" ]; then \
|
@@ -30,4 +30,6 @@ EXPOSE 7860
|
|
30 |
|
31 |
RUN ls -la /app
|
32 |
|
33 |
-
|
|
|
|
|
|
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 \
|
|
|
30 |
|
31 |
RUN ls -la /app
|
32 |
|
33 |
+
RUN chmod +x /app/start.sh
|
34 |
+
|
35 |
+
CMD ["/app/start.sh"]
|