diff --git a/Dockerfile b/Dockerfile index a49d2df..0706029 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,26 +1,7 @@ -FROM node:16-alpine3.11 +FROM node:18-alpine WORKDIR /app -# build audiowaveform from source - -RUN apk add git make cmake gcc g++ libmad-dev libid3tag-dev libsndfile-dev gd-dev boost-dev libgd libpng-dev zlib-dev opus-dev -RUN apk add zlib-static libpng-static boost-static - -RUN apk add autoconf automake libtool gettext -RUN wget https://github.com/xiph/flac/archive/1.3.3.tar.gz -RUN tar xzf 1.3.3.tar.gz -RUN cd flac-1.3.3/ && ./autogen.sh -RUN cd flac-1.3.3/ && ./configure --enable-shared=no -RUN cd flac-1.3.3/ && make -RUN cd flac-1.3.3/ && make install - -RUN git clone https://github.com/bbc/audiowaveform.git -RUN mkdir audiowaveform/build/ -RUN cd audiowaveform/build/ && cmake -D ENABLE_TESTS=0 -D BUILD_STATIC=1 .. -RUN cd audiowaveform/build/ && make -RUN cd audiowaveform/build/ && make install - # install chromium RUN apk add --no-cache \ chromium \ diff --git a/README.md b/README.md index 4578be3..0b60f06 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ We appreciate filed issues, pull requests and general discussion. Spacedeck requires: -- Node.js 10.x: Web Server / API. Download: https://nodejs.org +- Node.js 18.x: Web Server / API. Download: https://nodejs.org - Graphicsmagick. On non-Linux, Download: http://www.graphicsmagick.org/ On Linux, install via package manager. - Optionally ffmpeg, audiowaveform and ghostscript. See "Optional Dependencies" below.