Install czkawka via download in dockerfile + fix uvicorn dependency
Some checks failed
gitea/file-organizer/pipeline/head There was a failure building this commit

This commit is contained in:
Jose134 2025-02-02 01:43:43 +01:00
parent 8ab7746a3f
commit c44de34477
3 changed files with 5 additions and 7 deletions

6
.gitignore vendored
View File

@ -159,8 +159,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear # and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/ #.idea/
vendor/czkawka/*
vendor/ffmpeg/*

View File

@ -16,8 +16,9 @@ RUN pip install gunicorn
# Copy the FastAPI project files into the container # Copy the FastAPI project files into the container
COPY . . COPY . .
# Copy the czkawka binary into the container # Download & install czkawka binary
COPY vendor/czkawka /bin/ RUN wget -O /usr/local/bin/czkawka https://github.com/qarmin/czkawka/releases/download/8.0.0/linux_czkawka_cli
RUN chmod +x /usr/local/bin/czkawka
# Install ffmpeg with ffprobe # Install ffmpeg with ffprobe
RUN apt-get update && apt-get install -y ffmpeg RUN apt-get update && apt-get install -y ffmpeg

View File

@ -1,3 +1,4 @@
requests requests
fastapi fastapi
uvicorn
pytest ; extra == 'dev' pytest ; extra == 'dev'