Spaces:
Sleeping
Sleeping
Changed app image
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
-
FROM
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
USER user
|
@@ -10,7 +10,6 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
10 |
WORKDIR /app
|
11 |
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
-
RUN apt-get update && apt-get install libgl1
|
14 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
15 |
|
16 |
COPY --chown=user . /app
|
|
|
1 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
2 |
# you will also find guides on how best to write your Dockerfile
|
3 |
|
4 |
+
FROM nvidia/cuda:12.5.1-cudnn-devel-ubuntu20.04
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
USER user
|
|
|
10 |
WORKDIR /app
|
11 |
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
COPY --chown=user . /app
|