matthoffner commited on
Commit
79f1838
·
1 Parent(s): 4e139d2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
- FROM python:latest
2
-
3
- ENV PYTHONUNBUFFERED 1
 
 
4
 
5
  EXPOSE 8000
6
 
@@ -15,7 +17,7 @@ RUN pip install --upgrade pip && \
15
 
16
  RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
17
  RUN apt-get install git-lfs
18
- RUN git clone -b previous_llama_ggmlv2 https://huggingface.co/TheBloke/wizardLM-7B-GGML
19
 
20
  COPY . .
21
  RUN ls -al
 
1
+ FROM nvidia/cuda:11.6.0-base-ubuntu20.04
2
+ RUN export PATH="/usr/local/cuda/bin:$PATH"
3
+ RUN apt update && \
4
+ apt install --no-install-recommends -y build-essential python3 python3-pip wget && \
5
+ apt clean && rm -rf /var/lib/apt/lists/*
6
 
7
  EXPOSE 8000
8
 
 
17
 
18
  RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
19
  RUN apt-get install git-lfs
20
+ RUN git clone https://huggingface.co/TheBloke/wizardLM-7B-GGML
21
 
22
  COPY . .
23
  RUN ls -al