Use yarn in the docker image too

This commit is contained in:
Travis Ralston 2019-10-31 10:55:44 -06:00
parent 0595e9e548
commit 7c9e2dd822

View File

@ -1,8 +1,8 @@
FROM node:alpine
COPY . /tmp/src
RUN cd /tmp/src \
&& npm install \
&& npm run build \
&& yarn install \
&& yarn build \
&& mv lib/ /mjolnir/ \
&& mv node_modules / \
&& cd / \