Install chromium in Dockerfile
parent
10a81de899
commit
97ceec1771
|
@ -1,6 +1,7 @@
|
||||||
FROM node:22.1.0
|
FROM node:22.1.0
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN apt -y update && apt -y install chromium
|
||||||
|
|
||||||
RUN npm install -g npm@latest
|
RUN npm install -g npm@latest
|
||||||
|
|
||||||
|
@ -9,8 +10,6 @@ RUN npm install -g @angular/cli@^12.0.0
|
||||||
COPY . /app
|
COPY . /app
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
RUN ng test --watch=false --source-map=false --karma-config=karma.conf.js
|
|
||||||
|
|
||||||
EXPOSE 4200
|
EXPOSE 4200
|
||||||
|
|
||||||
CMD ["ng", "serve", "--host", "0.0.0.0", "--disable-host-check"]
|
CMD ["ng", "serve", "--host", "0.0.0.0", "--disable-host-check"]
|
||||||
|
|
Loading…
Reference in New Issue