Merge branch 'docker-build'
This commit was merged in pull request #17.
This commit is contained in:
+2
-1
@@ -4,4 +4,5 @@ navidrome-upload.service
|
||||
.idea/
|
||||
.env
|
||||
/README.md
|
||||
__pycache__/
|
||||
__pycache__/
|
||||
*.deb
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
# Navidome-Uploader Dockerfile for building .deb packages
|
||||
# Arian Nasr
|
||||
# May 9, 2026
|
||||
|
||||
FROM debian:13-slim
|
||||
|
||||
# Prevent interactive prompts
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
debhelper \
|
||||
devscripts \
|
||||
fakeroot \
|
||||
python3 \
|
||||
python3-venv \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /build/src
|
||||
|
||||
RUN mkdir -p /dist
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN chmod +x release/build-deb.sh
|
||||
|
||||
CMD ["sh", "-c", "./release/build-deb.sh && mv ../*.deb /dist/"]
|
||||
Reference in New Issue
Block a user