rhoitjadhav commited on
Commit
8b0f037
·
1 Parent(s): 7299075

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -12,6 +12,7 @@ COPY *.whl /packages/
12
 
13
  # Copy users db file along with execution script
14
  COPY start.sh /
 
15
  COPY load_data.py /
16
  COPY users.yml /packages/
17
 
@@ -29,9 +30,9 @@ RUN chmod +x /start.sh \
29
 
30
  # Install Elasticsearch
31
  RUN curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
32
- RUN echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-7.x.list
33
  RUN apt update
34
- RUN apt -y install elasticsearch
35
 
36
  # Executing argilla along with elasticsearch
37
- CMD /bin/bash /start.sh
 
12
 
13
  # Copy users db file along with execution script
14
  COPY start.sh /
15
+ COPY start_test.sh /
16
  COPY load_data.py /
17
  COPY users.yml /packages/
18
 
 
30
 
31
  # Install Elasticsearch
32
  RUN curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
33
+ RUN echo "deb https://artifacts.elastic.co/packages/8.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-8.x.list
34
  RUN apt update
35
+ RUN apt -y install elasticsearch=8.5.0
36
 
37
  # Executing argilla along with elasticsearch
38
+ CMD /bin/bash /start_test.sh