Skip to content

Commit

Permalink
Trying to resolve npm install issue on containers
Browse files Browse the repository at this point in the history
  • Loading branch information
null committed Apr 19, 2024
1 parent 9921ec4 commit 46ed559
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions podman/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46ed559

Please sign in to comment.