Install chromium in Dockerfile

oggui/translations
Nicolas Arenas 2024-10-24 18:30:41 +02:00
parent 10a81de899
commit 97ceec1771
1 changed files with 1 additions and 2 deletions

View File

@ -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"]