Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -2,9 +2,8 @@ FROM python:3.8
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
-
RUN pip install uvicorn
|
| 6 |
|
| 7 |
-
COPY ./requirements.txt /code/requirements.txt
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 10 |
|
|
@@ -12,7 +11,7 @@ RUN pip install https://github.com/explosion/spacy-models/releases/download/en_c
|
|
| 12 |
|
| 13 |
RUN git clone https://github.com/facebookresearch/fastText.git && cd fastText && pip install .
|
| 14 |
|
| 15 |
-
COPY . .
|
| 16 |
COPY start.sh /code/start.sh
|
| 17 |
RUN chmod +x /code/start.sh
|
| 18 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
|
|
|
| 5 |
|
| 6 |
+
COPY ./hf_demo/requirements.txt /code/requirements.txt
|
| 7 |
|
| 8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 9 |
|
|
|
|
| 11 |
|
| 12 |
RUN git clone https://github.com/facebookresearch/fastText.git && cd fastText && pip install .
|
| 13 |
|
| 14 |
+
COPY ./hf_demo .
|
| 15 |
COPY start.sh /code/start.sh
|
| 16 |
RUN chmod +x /code/start.sh
|
| 17 |
|