Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77efd6b0d8 |
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
# Python 3.11
|
# Python 3.11
|
||||||
FROM python@sha256:ad26bf20080f6b43a7f10020201fb95a678445be9040c111e034d86dc0c80d71 as build
|
FROM python@sha256:091e0f5da680e5c972c59cb7eca172141bb6350045b592c284e2fd3bf2916dd9 as build
|
||||||
|
|
||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
RUN apt-get update && apt-get install -y build-essential curl
|
RUN apt-get update && apt-get install -y build-essential curl
|
||||||
@@ -18,7 +18,7 @@ RUN /root/.cargo/bin/uv venv /opt/venv && \
|
|||||||
/root/.cargo/bin/uv pip install --no-cache -r requirements.txt
|
/root/.cargo/bin/uv pip install --no-cache -r requirements.txt
|
||||||
|
|
||||||
# Python 3.11-slim-bookworm app image
|
# Python 3.11-slim-bookworm app image
|
||||||
FROM python@sha256:ad26bf20080f6b43a7f10020201fb95a678445be9040c111e034d86dc0c80d71
|
FROM python@sha256:fc39d2e68b554c3f0a5cb8a776280c0b3d73b4c04b83dbade835e2a171ca27ef
|
||||||
|
|
||||||
# Copy the virtual environment from the previous image
|
# Copy the virtual environment from the previous image
|
||||||
COPY --from=build /opt/venv /opt/venv
|
COPY --from=build /opt/venv /opt/venv
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1
|
|||||||
spacy-legacy==3.0.12
|
spacy-legacy==3.0.12
|
||||||
spacy-loggers==1.0.5
|
spacy-loggers==1.0.5
|
||||||
srsly==2.4.8
|
srsly==2.4.8
|
||||||
thinc==8.2.3
|
thinc==9.0.0
|
||||||
tqdm==4.66.4
|
tqdm==4.66.4
|
||||||
typer==0.9.4
|
typer==0.9.4
|
||||||
typing-extensions==4.12.0
|
typing-extensions==4.12.0
|
||||||
|
|||||||
Reference in new issue
Block a user