Commit
·
2cce44a
1
Parent(s):
1defe4d
ubuntu
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,12 +1,14 @@
|
|
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 |
WORKDIR /code
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
|
|
|
|
10 |
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
11 |
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
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 ubuntu:latest
|
5 |
|
6 |
WORKDIR /code
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
+
RUN apt install python-is-python3
|
11 |
+
|
12 |
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
|
13 |
|
14 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|