Update Dockerfile

This commit is contained in:
Milan Kragujević
2021-08-13 19:29:11 +02:00
committed by GitHub
parent 188fab36d3
commit 0290ea272e

View File

@@ -16,7 +16,7 @@ COPY web /go/src/github.com/kerberos-io/opensource/web
########################
# Download NPM and Yarns
RUN apt-get install curl && curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
RUN apt-get update && apt-get install -y curl && curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt update && apt install yarn -y