From 46ed559784b0fb2b3cc52131ef4a7a481579b711 Mon Sep 17 00:00:00 2001 From: null Date: Fri, 19 Apr 2024 14:40:44 +0300 Subject: [PATCH] Trying to resolve npm install issue on containers --- docker/Dockerfile | 2 ++ podman/Containerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 547bcca..e2277ec 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -4,6 +4,8 @@ WORKDIR /app COPY . . RUN npm install -g @angular/cli@17 +RUN npm cache clean +RUN npm update RUN npm install --force EXPOSE 4200 diff --git a/podman/Containerfile b/podman/Containerfile index 547bcca..e2277ec 100644 --- a/podman/Containerfile +++ b/podman/Containerfile @@ -4,6 +4,8 @@ WORKDIR /app COPY . . RUN npm install -g @angular/cli@17 +RUN npm cache clean +RUN npm update RUN npm install --force EXPOSE 4200