Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
# Run as `docker run -it --mount src="$HOME/.cache",target=/root/.cache,type=bind --gpus=all localgpt`, requires Nvidia container toolkit.
|
4 |
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
5 |
|
6 |
-
ENV HOST 0.0.0.0
|
7 |
|
8 |
RUN apt-get update && apt-get upgrade -y \
|
9 |
&& apt-get install -y git build-essential libpq-dev gcc \
|
@@ -12,8 +12,6 @@ RUN apt-get update && apt-get upgrade -y \
|
|
12 |
g++-11 make python3 python-is-python3 pip \
|
13 |
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
|
14 |
|
15 |
-
ENV TRANSFORMERS_CACHE=/root/.cache
|
16 |
-
|
17 |
COPY . .
|
18 |
|
19 |
# setting build related env vars
|
|
|
3 |
# Run as `docker run -it --mount src="$HOME/.cache",target=/root/.cache,type=bind --gpus=all localgpt`, requires Nvidia container toolkit.
|
4 |
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
|
5 |
|
6 |
+
# ENV HOST 0.0.0.0
|
7 |
|
8 |
RUN apt-get update && apt-get upgrade -y \
|
9 |
&& apt-get install -y git build-essential libpq-dev gcc \
|
|
|
12 |
g++-11 make python3 python-is-python3 pip \
|
13 |
&& mkdir -p /etc/OpenCL/vendors && echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd
|
14 |
|
|
|
|
|
15 |
COPY . .
|
16 |
|
17 |
# setting build related env vars
|