From b7261ca29119dcae0c0e804fe1142058bc458fce Mon Sep 17 00:00:00 2001 From: Felix Seiboldt <52862870+devilAPI@users.noreply.github.com> Date: Fri, 27 Dec 2024 18:08:24 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index b322942..5905846 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,11 @@ FROM deluan/navidrome:latest # Set the working directory WORKDIR /home/container -# Copy the custom start.sh script to the container -COPY start.sh /home/container/start.sh - -# Set permissions for the start.sh script -RUN chmod +x /home/container/start.sh - # Expose the default Navidrome port EXPOSE 4533 + +# Remove any default entrypoint (optional) +# ENTRYPOINT [] + +# Set the default command to run Navidrome with arguments (this will be overridden in Pterodactyl) +CMD ["navidrome -max-memory {{SERVER_MEMORY}} -port {{SERVER_PORT}} --music /home/container/music --cache /home/container/cache --data /home/container/data"]