jonathanjordan21 commited on
Commit
a48629c
·
verified ·
1 Parent(s): 08f7a2f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -10
Dockerfile CHANGED
@@ -15,18 +15,12 @@ RUN apt-get update && \
15
  sudo && \
16
  rm -rf /var/lib/apt/lists/*
17
 
18
- # Install Docker in the container (to use Docker CLI if needed)
19
- RUN apt-get update && \
20
- apt-get install -y docker.io
21
-
22
- # Install Milvus standalone with the provided script
23
- # RUN curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o standalone_embed.sh && \
24
- # chmod +x standalone_embed.sh && \
25
- # ./standalone_embed.sh install && \
26
- # rm -f standalone_embed.sh
27
 
28
  # Expose the default Milvus port
29
  EXPOSE 19530
30
 
31
  # Start Milvus on container startup
32
- CMD ["bash", "-c", "./standalone_embed.sh start && tail -f /dev/null"]
 
15
  sudo && \
16
  rm -rf /var/lib/apt/lists/*
17
 
18
+ # Copy the existing standalone_embed.sh script into the container
19
+ COPY standalone_embed.sh /standalone_embed.sh
20
+ RUN chmod +x /standalone_embed.sh
 
 
 
 
 
 
21
 
22
  # Expose the default Milvus port
23
  EXPOSE 19530
24
 
25
  # Start Milvus on container startup
26
+ CMD ["bash", "-c", "/standalone_embed.sh start && tail -f /dev/null"]