Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
# Use an official CUDA runtime as a parent image
|
| 2 |
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu20.04
|
| 3 |
|
|
|
|
|
|
|
| 4 |
# Install necessary system dependencies
|
| 5 |
RUN apt-get update && apt-get install -y \
|
| 6 |
cmake \
|
|
@@ -13,6 +15,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 13 |
python3-pip \
|
| 14 |
python3-dev \
|
| 15 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/hub
|
|
|
|
| 1 |
# Use an official CUDA runtime as a parent image
|
| 2 |
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu20.04
|
| 3 |
|
| 4 |
+
ENV DEBIAN_FRONTEND=noninteractive
|
| 5 |
+
|
| 6 |
# Install necessary system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
cmake \
|
|
|
|
| 15 |
python3-pip \
|
| 16 |
python3-dev \
|
| 17 |
&& rm -rf /var/lib/apt/lists/*
|
| 18 |
+
|
| 19 |
+
# Reset noninteractive mode
|
| 20 |
+
ENV DEBIAN_FRONTEND=
|
| 21 |
|
| 22 |
|
| 23 |
ENV TRANSFORMERS_CACHE=/app/.cache/huggingface/hub
|