Compare commits
No commits in common. "97ceec1771dc5328de34fe0e54c605cc46621223" and "7cede099afe44837fa54683ac7377b04c47ac60f" have entirely different histories.
97ceec1771
...
7cede099af
|
@ -1,7 +1,6 @@
|
|||
FROM node:22.1.0
|
||||
|
||||
WORKDIR /app
|
||||
RUN apt -y update && apt -y install chromium
|
||||
|
||||
RUN npm install -g npm@latest
|
||||
|
||||
|
@ -10,6 +9,8 @@ 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"]
|
||||
|
|
|
@ -27,13 +27,7 @@ module.exports = function(config) {
|
|||
colors: true,
|
||||
logLevel: config.LOG_INFO,
|
||||
autoWatch: true,
|
||||
browsers: ['ChromeHeadlessNoSandbox'],
|
||||
customLaunchers: {
|
||||
ChromeHeadlessNoSandbox: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['--no-sandbox','--disable-setuid-sandbox']
|
||||
}
|
||||
},
|
||||
browsers: ['Chrome'],
|
||||
singleRun: false,
|
||||
restartOnFileChange: true
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue