File tree 3 files changed +3
-4
lines changed
open/text/embeddings/server
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 51
51
echo "APP_NAME=${APP_NAME}" >> $GITHUB_ENV
52
52
53
53
- name : Deploy FastAPI app
54
- run : pwd;ls -la; modal deploy open.text.embeddings.server.modal
54
+ run : HOME=$( pwd) modal deploy open.text.embeddings.server.modal
55
55
56
56
- name : Test FastAPI app
57
57
run : >
Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ FROM debian:bullseye-slim AS build-image
2
2
3
3
#ARG MODEL
4
4
#ENV MODEL=${MODEL}
5
- RUN pwd;ls -la
6
-
7
- COPY ./download.sh ./
5
+ COPY ${HOME}/download.sh ./
8
6
9
7
# Install build dependencies
10
8
RUN apt-get update && \
Original file line number Diff line number Diff line change 10
10
"MODEL" : os .environ ["MODEL" ],
11
11
"NORMALIZE_EMBEDDINGS" : os .environ ["NORMALIZE_EMBEDDINGS" ],
12
12
"VERBOSE" : os .environ ["VERBOSE" ],
13
+ "HOME" : os .environ ["HOME" ],
13
14
"HF_HOME" : "/tmp/hf_home" ,
14
15
})
15
16
You can’t perform that action at this time.
0 commit comments