limcheekin commited on
Commit
e5996cb
1 Parent(s): 30b33a5

chore: moved the share MODEL argument to global

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,7 @@
 
 
1
  FROM debian:bullseye-slim AS build-image
2
 
3
- ARG MODEL="BAAI/bge-large-en"
4
  ENV MODEL=${MODEL}
5
 
6
  COPY ./download.sh ./
@@ -17,7 +18,6 @@ RUN chmod +x *.sh && \
17
  # Grab a fresh copy of the Python image
18
  FROM python:3.10-slim
19
 
20
- ARG MODEL="BAAI/bge-large-en"
21
  ENV MODEL=${MODEL}
22
  ENV NORMALIZE_EMBEDDINGS=1
23
 
 
1
+ ARG MODEL="BAAI/bge-large-en"
2
+
3
  FROM debian:bullseye-slim AS build-image
4
 
 
5
  ENV MODEL=${MODEL}
6
 
7
  COPY ./download.sh ./
 
18
  # Grab a fresh copy of the Python image
19
  FROM python:3.10-slim
20
 
 
21
  ENV MODEL=${MODEL}
22
  ENV NORMALIZE_EMBEDDINGS=1
23