Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
@@ -4,7 +4,13 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
+
#RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
+
# Add to your Dockerfile before installing other packages
|
9 |
+
RUN pip install --no-cache-dir \
|
10 |
+
torch==2.0.1 \
|
11 |
+
transformers==4.35.2 \
|
12 |
+
fastapi==0.104.1 \
|
13 |
+
python-multipart==0.0.6
|
14 |
|
15 |
COPY . .
|
16 |
|