add jsmpeg relay

This commit is contained in:
Blake Blackshear
2021-03-02 06:54:12 -06:00
parent c71b717a54
commit 7309c06be8
6 changed files with 106 additions and 0 deletions

11
docker/Dockerfile.jsmpeg Normal file
View File

@@ -0,0 +1,11 @@
ARG NODE_VERSION=14.16
FROM node:${NODE_VERSION}
WORKDIR /opt/build
COPY jsmpeg/. .
RUN npm install --no-progress && \
npm run build && \
npm prune --production --ignore-scripts --prefer-offline