Update Dockerfile

This commit is contained in:
cedricve
2020-12-27 23:01:29 +01:00
parent a9999e303b
commit 7c4e52c616

View File

@@ -14,8 +14,8 @@ COPY backend /go/src/github.com/kerberos-io/opensource/backend
COPY frontend /go/src/github.com/kerberos-io/opensource/frontend
# Build react
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && \
RUN apt-get install curl && 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
RUN cd /go/src/github.com/kerberos-io/opensource/frontend && \