We are using JFrog Artifactory for NPM Packages in our Jenkins CI Pipeline.. I would like to download npm packages from Artifactory while building docker images in our CI for npm ci/npm install step to decrease the duration of docker build process. I tried as below via copy the .npmrc file that contains our private ..
I have a typescript application where I have backend and frontend in monorepo as below tree.I would like to refactor my dockerfile to have much better cache mechanism to speed up docker build process in CI. Here is the dockerfile that I tried to update so far but nothing changed anything for the duration of ..
I’ve built a website with static content for our developers. This website is used by different type of users. Employees, dealers and ext.. and I managed this via using different config and params as below.Everything works fine when I accessed via localhost website where running as a container in my local environment or port-forward pods ..
We have a Dockerfile as below which image size is around 200-300MB.In our jenkins, while npm install step, it takes around to 5-10 minutes to finalize and skip to other step which I believe its not a good practice. What should I do to accelerate this process in Jenkins CI? Is there any trick to ..
I have a ReactJs app where I can access the application through nginx. Here is the dockerfile where I can access my application in my local environment via http://localhost:8080 whereas I could not able to access application metrics when I try to connect http://localhost:9183/metrics Below is the output which seems it is much more related ..
I would like to integrate prometheus-client with my react app to monitor metrics but ı could not able to access metrics through http:localhost:9183/metrics whereas I can able to access my react-app via http://localhost:8080.. I am using multi-stage where expose react-app over nginx. Here is multi-stage dockerfile FROM node:12-alpine AS builder WORKDIR /src/app COPY . . ..
It might be simple question but I could not find the proper solution. I have a Docker image as below.. The things that I would like to do simply run curl command inside kubernetes pod but I received an error as below.. I could not able to exec via bash also. $ kubectl exec -ti ..
We have a node and based docker image for our Vue.js front-end service. Only for this service jenkins build are very slow which take over ~10 minutes. I just searched on google and used some flags for npm and yarn but there is no any big change especially for yarn. Where should I focus on ..
I would like to install aws-cli for below images but I received below error. I tried with apk, apt but none of then did not work. Can you please help how should I update my dockerfile? I do not want to change my base image, I need to use maven:3.6.3-openjdk-14. sh: apt-get: command not found ..
I have a maven based dockerfile as below which works fine in kubernetes cause I do not need to install chrome driver. But for my local environment I need to install and I added as below with ARG. But when I would to run the image I received below error. Here is how ı run ..