File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed 
docker/producer-dashboard 
tools/heartbeats-processor Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ RUN curl -s -L https://github.com/ocaml/opam/releases/download/2.1.2/opam-2.1.2-
5959
6060RUN  apt-get -y --no-install-recommends install m4 pkg-config
6161
62- RUN  opam init --disable-sandboxing
63- RUN   opam switch create .
64- RUN   eval "$(opam config env)" 
65- RUN   opam switch import -y opam.export
66- RUN  ./scripts/pin-external-packages.sh
62+ RUN  opam init --disable-sandboxing && \ 
63+      opam switch create . && \ 
64+      eval "$(opam config env)"  && \ 
65+      opam switch import -y opam.export && \ 
66+      ./scripts/pin-external-packages.sh
6767
6868RUN  curl -L https://go.dev/dl/go1.19.linux-amd64.tar.gz -o go1.19.tar.gz \
6969    && tar -C /usr/local -xzf go1.19.tar.gz \
Original file line number Diff line number Diff line change @@ -3,11 +3,10 @@ FROM node:18 AS BUILD_IMAGE
33ARG  BUILD_CONFIGURATION=production
44WORKDIR  /app
55COPY  . .
6- RUN  npm install
7- RUN  node_modules/.bin/ng build --configuration ${BUILD_CONFIGURATION}
8- RUN  npm prune --production
9- 
10- RUN  echo "---------- USING APACHE ----------" 
6+ RUN  npm install && \
7+     node_modules/.bin/ng build --configuration ${BUILD_CONFIGURATION} && \
8+     npm prune --production && \
9+     echo "---------- USING APACHE ----------" 
1110
1211
1312FROM  httpd:2.4
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ WORKDIR /usr/src/app
55RUN  apt-get update && apt-get install -y --no-install-recommends pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
66
77COPY  . .
8- RUN  ls -la tools/heartbeats-processor
9- RUN  cargo build --release -p heartbeats-processor
8+ RUN  ls -la tools/heartbeats-processor && \ 
9+      cargo build --release -p heartbeats-processor
1010
1111#  Runtime stage
1212FROM  debian:bookworm-slim
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments