gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 10/459: optimised Dockerfile -> yarn running all the time (


From: gnunet
Subject: [reclaim-ui] 10/459: optimised Dockerfile -> yarn running all the time (unintended)
Date: Fri, 11 Jun 2021 23:21:42 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.

commit ec75f85f62359ae4feef7b19f1cec8c01ac03da8
Author: kiliant <kiliant@in.tum.de>
AuthorDate: Tue Nov 27 11:51:00 2018 +0100

    optimised Dockerfile -> yarn running all the time (unintended)
---
 Dockerfile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 7814a8d..e34da08 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,12 +7,11 @@ EXPOSE 80
 WORKDIR /tmp
 
 # this should hopefully trigger Docker to only update yarn if dependencies 
have changed
-ADD *.json ./
-ADD *.lock ./
-RUN yarn install
+COPY package.json yarn.lock ./
+RUN yarn --pure-lockfile
 
 # add the rest of the files
-ADD . .
+COPY . .
 
 # set environment to production
 ENV NODE_ENV production

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]