-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix docker build problem and added arm64 support
fixed docker build problems on github actions everything is tested and working as expected
- Loading branch information
1 parent
0611e3f
commit 2614429
Showing
3 changed files
with
52 additions
and
15 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
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,11 +1,25 @@ | ||
FROM python:3.11-slim-buster | ||
FROM python:slim | ||
|
||
LABEL org.opencontainers.image.source="https://github.com/toddrob99/searcharr" | ||
LABEL org.opencontainers.image.description="Docker for SEARCHARR" | ||
LABEL Name=Searcharr Version="v1.2-beta" | ||
|
||
ARG TARGETPLATFORM BUILDPLATFORM | ||
|
||
LABEL Name=Searcharr Version=1.2 | ||
|
||
WORKDIR /app | ||
|
||
RUN chmod -R 777 /app && \ | ||
chmod -R +x /app && \ | ||
chmod -R 705 /app | ||
|
||
ADD . /app | ||
|
||
RUN python3 -m pip install --upgrade pip | ||
RUN python3 -m pip install -r requirements.txt | ||
RUN apt-get update -y && \ | ||
apt-get upgrade -y | ||
|
||
RUN python3 -m pip install --upgrade pip && \ | ||
python3 -m pip install -r requirements.txt && \ | ||
apt-get autoremove -y | ||
|
||
CMD ["python3", "searcharr.py"] |
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