arshy commited on
Commit
4213e37
1 Parent(s): 7c17200
Files changed (1) hide show
  1. 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/benchmark" ]; then \
22
- cd /app/olas-predict-benchmark/benchmark && git checkout fix/mech-packages; \
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
- CMD ["python", "app.py"]
 
 
 
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"]