Spaces:
Running
Running
updates
Browse files- Dockerfile +2 -1
- requirements.txt +10 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
-
FROM python:3.10-slim
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
@@ -11,6 +11,7 @@ COPY .streamlit/config.toml /app/.streamlit/config.toml
|
|
11 |
COPY requirements.txt /app/requirements.txt
|
12 |
|
13 |
# Install any needed packages specified in requirements.txt
|
|
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
RUN python -m spacy download en_core_web_md
|
16 |
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
+
FROM python:3.10-slim-buster
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
|
|
11 |
COPY requirements.txt /app/requirements.txt
|
12 |
|
13 |
# Install any needed packages specified in requirements.txt
|
14 |
+
RUN python -m pip install --upgrade pip
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|
16 |
RUN python -m spacy download en_core_web_md
|
17 |
|
requirements.txt
CHANGED
@@ -13,4 +13,13 @@ tokenizers==0.19.1
|
|
13 |
toml==0.10.2
|
14 |
tomli==2.0.1
|
15 |
toolz==0.12.1
|
16 |
-
torch==2.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
toml==0.10.2
|
14 |
tomli==2.0.1
|
15 |
toolz==0.12.1
|
16 |
+
torch==2.3.0
|
17 |
+
opentelemetry-api==1.24.0
|
18 |
+
opentelemetry-exporter-otlp-proto-common==1.24.0
|
19 |
+
opentelemetry-exporter-otlp-proto-grpc==1.24.0
|
20 |
+
opentelemetry-instrumentation==0.45b0
|
21 |
+
opentelemetry-instrumentation-asgi==0.45b0
|
22 |
+
opentelemetry-instrumentation-fastapi==0.45b0
|
23 |
+
opentelemetry-proto==1.24.0
|
24 |
+
opentelemetry-sdk==1.24.0
|
25 |
+
tqdm==4.66.4
|