Skip to content

Commit 65f0168

Browse files
committed
chore: update docker image to python 3.13 alpine
1 parent 606bf40 commit 65f0168

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13-slim
1+
FROM python:3.13-alpine
22

33
# Set version label
44
ARG BUILD_DATE
@@ -36,6 +36,10 @@ ENV ND_BASE_PATH=/music/library
3636
VOLUME /app/config/beets
3737
VOLUME /app/data
3838

39+
# Install dependencies
40+
RUN echo "Installing dependencies..." && \
41+
apk add --no-cache make
42+
# apk add --update
3943

4044
# Configure Poetry
4145
ENV POETRY_VERSION=1.8.5
@@ -49,13 +53,6 @@ RUN python3 -m venv $POETRY_VENV \
4953
&& $POETRY_VENV/bin/pip install poetry==${POETRY_VERSION}
5054
ENV PATH="${PATH}:${POETRY_VENV}/bin"
5155

52-
# Install dependencies
53-
RUN echo "Installing dependencies..." && \
54-
apt-get update && apt-get -y install \
55-
apt-utils \
56-
build-essential \
57-
pip
58-
5956
# Add local files
6057
RUN mkdir -p /app /config /music /data \
6158
&& chown -R 1000:1000 /app /config /music /data

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ docker.run::
9999
-v ./music:/music \
100100
-v ./data:/data \
101101
-e TZ=${TIMEZONE} \
102-
--entrypoint bash nd-toolbox
102+
--entrypoint sh nd-toolbox
103103

0 commit comments

Comments
 (0)