Skip to content

Commit 9f63b2e

Browse files
elepedustybalex
authored andcommitted
server: add cURL support to server.Dockerfile (ggml-org#6461)
1 parent 14be2c1 commit 9f63b2e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.devops/server.Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,21 @@ ARG UBUNTU_VERSION=22.04
33
FROM ubuntu:$UBUNTU_VERSION as build
44

55
RUN apt-get update && \
6-
apt-get install -y build-essential git
6+
apt-get install -y build-essential git libcurl4-openssl-dev
77

88
WORKDIR /app
99

1010
COPY . .
1111

12+
ENV LLAMA_CURL=1
13+
1214
RUN make
1315

1416
FROM ubuntu:$UBUNTU_VERSION as runtime
1517

18+
RUN apt-get update && \
19+
apt-get install -y libcurl4-openssl-dev
20+
1621
COPY --from=build /app/server /server
1722

1823
ENV LC_ALL=C.utf8

0 commit comments

Comments
 (0)