This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resorted to reinstalling `torchvision` via `pip`
- Loading branch information
1 parent
4c398b9
commit 771154c
Showing
4 changed files
with
49 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
FROM python:3.10.5-buster | ||
|
||
LABEL org.opencontainers.image.description "Dokcer image for running wyzely-detect" | ||
LABEL org.opencontainers.image.description "Docker image for running wyzely-detect" | ||
LABEL org.opencontainers.image.source "https://github.com/slashtechno/wyzely-detect" | ||
|
||
RUN apt update && apt install libgl1 -y | ||
RUN pip install poetry | ||
|
||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
RUN poetry install | ||
|
||
ENTRYPOINT ["poetry", "run", "python", "-m", "wyzely_detect"] | ||
RUN poetry run pip uninstall -y torchvision | ||
RUN poetry run pip install torchvision | ||
|
||
ENTRYPOINT ["poetry", "run", "python", "-m", "--", "wyzely_detect", "--no-display"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.