File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build
12
12
ARG CUDA_DOCKER_ARCH=all
13
13
14
14
RUN apt-get update && \
15
- apt-get install -y build-essential python3 python3-pip git
15
+ apt-get install -y build-essential python3 python3-pip git libcurl4-openssl-dev
16
16
17
17
COPY requirements.txt requirements.txt
18
18
COPY requirements requirements
@@ -28,6 +28,8 @@ COPY . .
28
28
ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
29
29
# Enable CUDA
30
30
ENV LLAMA_CUDA=1
31
+ # Enable cURL
32
+ ENV LLAMA_CURL=1
31
33
32
34
RUN make
33
35
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build
12
12
ARG CUDA_DOCKER_ARCH=all
13
13
14
14
RUN apt-get update && \
15
- apt-get install -y build-essential git
15
+ apt-get install -y build-essential git libcurl4-openssl-dev
16
16
17
17
WORKDIR /app
18
18
@@ -22,11 +22,16 @@ COPY . .
22
22
ENV CUDA_DOCKER_ARCH=${CUDA_DOCKER_ARCH}
23
23
# Enable CUDA
24
24
ENV LLAMA_CUDA=1
25
+ # Enable cURL
26
+ ENV LLAMA_CURL=1
25
27
26
28
RUN make
27
29
28
30
FROM ${BASE_CUDA_RUN_CONTAINER} as runtime
29
31
32
+ RUN apt-get update && \
33
+ apt-get install -y libcurl4-openssl-dev
34
+
30
35
COPY --from=build /app/server /server
31
36
32
37
ENTRYPOINT [ "/server" ]
You can’t perform that action at this time.
0 commit comments