File tree Expand file tree Collapse file tree
shairport-metadata-display Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM node:23-alpine
2+
3+ # Set the working directory in the container
4+ WORKDIR /app
5+
6+ RUN apk add --update --no-cache git file imagemagick
7+
8+ RUN git clone https://github.com/AlainGourves/shairport-metadata-display .
9+ RUN mkdir /app/public/img
10+
11+ # COPY package*.json ./
12+
13+ # Install Node.js dependencies
14+ RUN npm install --omit=dev
15+
16+ # Copy the application source code to the container
17+ COPY . .
18+
19+ # Expose the port if the application uses one (adjust as needed)
20+ EXPOSE 8080
21+
22+ # Set the default command to run the application
23+ CMD [ "npm" , "start" ]
Original file line number Diff line number Diff line change 1+ # https://github.com/AlainGourves/shairport-metadata-display
2+ services :
3+ shairport-metadata-display :
4+ build : .
5+ restart : unless-stopped
6+ env_file :
7+ - .env
8+ volumes :
9+ - ../../run/shairport-sync/fifos:/tmp/shairport-sync-metadata
You can’t perform that action at this time.
0 commit comments