This repository was archived by the owner on Dec 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
tags :
6
6
- " *"
7
+ pull_request :
8
+ branches :
9
+ - " main"
7
10
8
11
env :
9
12
GarProjectID : mv-auxiliary
Original file line number Diff line number Diff line change 1
- FROM python:3.11.7-slim-bookworm
1
+ FROM nvidia/cuda:12.6.2-base-ubuntu22.04
2
2
3
3
LABEL com.danswer.maintainer="founders@danswer.ai"
4
4
LABEL com.danswer.description="This image is for the Danswer model server which runs all of the \
@@ -11,6 +11,15 @@ ARG DANSWER_VERSION=0.3-dev
11
11
ENV DANSWER_VERSION=${DANSWER_VERSION} \
12
12
DANSWER_RUNNING_IN_DOCKER="true"
13
13
14
+ ENV DEBIAN_FRONTEND=noninteractive
15
+
16
+ ENV TZ=Etc/UTC
17
+
18
+ RUN apt-get update && apt install software-properties-common -y
19
+
20
+ RUN add-apt-repository ppa:deadsnakes/ppa -y
21
+
22
+ RUN apt-get update && apt-get install -y curl gpg python3.11 python3-pip
14
23
15
24
RUN echo "DANSWER_VERSION: ${DANSWER_VERSION}"
16
25
@@ -20,8 +29,7 @@ RUN pip install --no-cache-dir --upgrade \
20
29
--timeout 30 \
21
30
-r /tmp/requirements.txt
22
31
23
- RUN apt-get remove -y --allow-remove-essential perl-base && \
24
- apt-get autoremove -y
32
+ RUN apt-get autoremove -y
25
33
26
34
# Pre-downloading models for setups with limited egress
27
35
# Download tokenizers, distilbert for the Danswer model
You can’t perform that action at this time.
0 commit comments