Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
RUN apt-get update && apt-get install -y \
|
4 |
build-essential \
|
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
|
|
9 |
WORKDIR /code
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
-
|
13 |
RUN pip3 install -r requirements.txt
|
14 |
RUN pip3 install https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
|
15 |
RUN pip3 install https://huggingface.co/spacy/en_core_web_lg/resolve/main/en_core_web_lg-any-py3-none-any.whl
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
|
3 |
RUN apt-get update && apt-get install -y \
|
4 |
build-essential \
|
|
|
9 |
WORKDIR /code
|
10 |
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
+
run python3 -m pip install --upgrade pip
|
13 |
RUN pip3 install -r requirements.txt
|
14 |
RUN pip3 install https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
|
15 |
RUN pip3 install https://huggingface.co/spacy/en_core_web_lg/resolve/main/en_core_web_lg-any-py3-none-any.whl
|