diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..63a35f7f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM node:11.8.0-stretch + +RUN git clone https://github.com/SonyCSLParis/opensheetmusicdisplay.git +WORKDIR /opensheetmusicdisplay +RUN yarn install && yarn link + +WORKDIR / +RUN git clone https://github.com/SonyCSLParis/simplebar.git +WORKDIR /simplebar +RUN yarn install && yarn run build && yarn link + +WORKDIR / +RUN git clone https://github.com/SonyCSLParis/NONOTO.git +WORKDIR /NONOTO +RUN yarn link opensheetmusicdisplay && yarn link simplebar +RUN yarn install && yarn build:web + +EXPOSE 8080 + +CMD ["yarn", "serve:web"] +