Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
devilAPI authored Dec 27, 2024
1 parent 69689c7 commit c7f7d59
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Use Navidrome as the base image
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 to allow user access
RUN chmod +x /home/container/start.sh && chown container:container /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

# Set the entrypoint to use the custom start.sh
ENTRYPOINT ["/home/container/start.sh"]
# Set the default command to run the start.sh script
CMD ["/bin/bash", "/home/container/start.sh"]

0 comments on commit c7f7d59

Please sign in to comment.