Skip to content

Commit

Permalink
server: add cURL support to server.Dockerfile (ggerganov#6461)
Browse files Browse the repository at this point in the history
  • Loading branch information
elepedus authored Apr 3, 2024
1 parent 154d4ee commit 5d4f12e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .devops/server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,21 @@ ARG UBUNTU_VERSION=22.04
FROM ubuntu:$UBUNTU_VERSION as build

RUN apt-get update && \
apt-get install -y build-essential git
apt-get install -y build-essential git libcurl4-openssl-dev

WORKDIR /app

COPY . .

ENV LLAMA_CURL=1

RUN make

FROM ubuntu:$UBUNTU_VERSION as runtime

RUN apt-get update && \
apt-get install -y libcurl4-openssl-dev

COPY --from=build /app/server /server

ENV LC_ALL=C.utf8
Expand Down

0 comments on commit 5d4f12e

Please sign in to comment.