Spaces:
Sleeping
Sleeping
Update app.Dockerfile
Browse files- app.Dockerfile +5 -9
app.Dockerfile
CHANGED
@@ -2,19 +2,15 @@ FROM huggingface/transformers:latest
|
|
2 |
|
3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
build-essential \
|
5 |
-
libomp5
|
6 |
libopenblas-dev \
|
7 |
python3-dev \
|
8 |
wget \
|
9 |
-
curl
|
10 |
-
libnvidia-cuda-dev
|
11 |
-
|
12 |
-
RUN pip install --no-cache-dir transformers
|
13 |
-
RUN pip install --no-cache-dir torch torchvision torchaudio
|
14 |
-
|
15 |
|
16 |
WORKDIR /app
|
17 |
|
18 |
COPY requirements.txt .
|
19 |
-
RUN pip install -r requirements.txt # Install
|
20 |
-
|
|
|
|
2 |
|
3 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
4 |
build-essential \
|
5 |
+
libomp5 \
|
6 |
libopenblas-dev \
|
7 |
python3-dev \
|
8 |
wget \
|
9 |
+
curl
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
WORKDIR /app
|
12 |
|
13 |
COPY requirements.txt .
|
14 |
+
RUN pip install --no-cache-dir -r requirements.txt # Install dependencies from requirements.txt
|
15 |
+
|
16 |
+
COPY . .
|