Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
-
FROM python:3.
|
| 3 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 4 |
# you will also find guides on how best to write your Dockerfile
|
| 5 |
|
|
@@ -10,6 +10,8 @@ WORKDIR ./
|
|
| 10 |
COPY requirements.txt requirements.txt
|
| 11 |
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
|
|
|
| 13 |
|
| 14 |
COPY . .
|
| 15 |
|
|
|
|
| 1 |
# Use an official Python runtime as a parent image
|
| 2 |
+
FROM python:3.11-slim
|
| 3 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 4 |
# you will also find guides on how best to write your Dockerfile
|
| 5 |
|
|
|
|
| 10 |
COPY requirements.txt requirements.txt
|
| 11 |
|
| 12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 13 |
+
RUN pip install --upgrade numpy
|
| 14 |
+
RUN pip install --upgrade pyxel-damerau-levenshtein
|
| 15 |
|
| 16 |
COPY . .
|
| 17 |
|