From 97ceec1771dc5328de34fe0e54c605cc46621223 Mon Sep 17 00:00:00 2001 From: Nicolas Arenas Date: Thu, 24 Oct 2024 18:30:41 +0200 Subject: [PATCH] Install chromium in Dockerfile --- ogWebconsole/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ogWebconsole/Dockerfile b/ogWebconsole/Dockerfile index d6fa0ea..8be6456 100644 --- a/ogWebconsole/Dockerfile +++ b/ogWebconsole/Dockerfile @@ -1,6 +1,7 @@ FROM node:22.1.0 WORKDIR /app +RUN apt -y update && apt -y install chromium RUN npm install -g npm@latest @@ -9,8 +10,6 @@ RUN npm install -g @angular/cli@^12.0.0 COPY . /app RUN npm install -RUN ng test --watch=false --source-map=false --karma-config=karma.conf.js - EXPOSE 4200 CMD ["ng", "serve", "--host", "0.0.0.0", "--disable-host-check"]