From 4b2cce26d342a9cc7fd3ae9c8dc14a5da97d5051 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 25 Jan 2019 20:54:50 +0200 Subject: [PATCH] Use yarn to install thelounge --- Dockerfile | 4 ++-- alpine/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9054ddd..efa0a8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,5 +16,5 @@ COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # Install thelounge. ARG THELOUNGE_VERSION=3.0.0-rc.6 -RUN npm install --unsafe-perm -g thelounge@${THELOUNGE_VERSION} && \ - npm cache clean --force +RUN yarn --non-interactive global add thelounge@${THELOUNGE_VERSION} && \ + yarn --non-interactive cache clean diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 2065eb9..f659277 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -16,5 +16,5 @@ COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # Install thelounge. ARG THELOUNGE_VERSION=3.0.0-rc.6 -RUN npm install --unsafe-perm -g thelounge@${THELOUNGE_VERSION} && \ - npm cache clean --force +RUN yarn --non-interactive global add thelounge@${THELOUNGE_VERSION} && \ + yarn --non-interactive cache clean