-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
92 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
npm-debug.log | ||
npm-debug.log | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
# first stage - build angular project # | ||
# first stage - build angular project | ||
FROM node:lts-alpine AS build | ||
# create virtual directory in image | ||
WORKDIR /dist/src/app | ||
RUN npm cache clean --force | ||
# copy files from local machine to virtual directory in image | ||
COPY . . | ||
# install python3 and other dependencies for node-gyp (which is somehow required by the angular build) | ||
RUN apk add --no-cache --virtual .build-deps alpine-sdk python3 | ||
# install dependencies | ||
RUN npm install | ||
RUN npm run build:traefik --omit=dev | ||
RUN npm run build:traefik | ||
|
||
|
||
# second stage - serve compiled output via nginx server # | ||
# second stage - serve compiled output via nginx server | ||
FROM nginx:latest AS ngi | ||
COPY --from=build /dist/src/app/dist/tease /usr/share/nginx/html | ||
COPY --from=build /dist/src/app/dist/tease/browser /usr/share/nginx/html | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
EXPOSE 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
}, | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve --configuration development --host 0.0.0.0 --port 80 --disable-host-check", | ||
"start": "ng serve --configuration development --host 0.0.0.0 --port 80", | ||
"build": "ng build --stats-json", | ||
"build:prod": "ng build --configuration production --stats-json", | ||
"build:traefik": "ng build --configuration production --base-href /tease/ --stats-json", | ||
|
@@ -32,36 +32,36 @@ | |
"Dora Dzvonyar <[email protected]>" | ||
], | ||
"dependencies": { | ||
"@angular/animations": "17.0.7", | ||
"@angular/cdk": "17.0.4", | ||
"@angular/common": "17.0.7", | ||
"@angular/compiler": "17.0.7", | ||
"@angular/core": "17.0.7", | ||
"@angular/forms": "17.0.7", | ||
"@angular/platform-browser": "17.0.7", | ||
"@angular/platform-browser-dynamic": "17.0.7", | ||
"@angular/router": "17.0.7", | ||
"@fortawesome/angular-fontawesome": "^0.14.1", | ||
"@fortawesome/fontawesome-svg-core": "^6.4.2", | ||
"@ng-bootstrap/ng-bootstrap": "^16.0.0", | ||
"@angular/animations": "18.1.0", | ||
"@angular/cdk": "18.1.0", | ||
"@angular/common": "18.1.0", | ||
"@angular/compiler": "18.1.0", | ||
"@angular/core": "18.1.0", | ||
"@angular/forms": "18.1.0", | ||
"@angular/platform-browser": "18.1.0", | ||
"@angular/platform-browser-dynamic": "18.1.0", | ||
"@angular/router": "18.1.0", | ||
"@fortawesome/angular-fontawesome": "0.15.0", | ||
"@fortawesome/fontawesome-svg-core": "6.5.2", | ||
"@ng-bootstrap/ng-bootstrap": "17.0.0", | ||
"@stomp/stompjs": "^7.0.0", | ||
"bootstrap": "5.3.2", | ||
"chart.js": "^4.4.2", | ||
"bootstrap": "5.3.3", | ||
"chart.js": "^4.4.3", | ||
"crypto-js": "4.2.0", | ||
"dragula": "3.7.3", | ||
"file-saver": "2.0.5", | ||
"html2canvas": "1.4.1", | ||
"i18n-iso-countries": "^7.10.0", | ||
"i18n-iso-countries": "^7.11.2", | ||
"javascript-lp-solver": "0.4.24", | ||
"jszip": "3.10.1", | ||
"ng2-charts": "^6.0.0", | ||
"ng2-dragula": "5.0.1", | ||
"ngx-capture": "^0.13.0", | ||
"ngx-toastr": "^18.0.0", | ||
"ng2-charts": "^6.0.1", | ||
"ng2-dragula": "5.1.0", | ||
"ngx-capture": "^0.14.0", | ||
"ngx-toastr": "^19.0.0", | ||
"papaparse": "5.4.1", | ||
"rxjs": "7.8.1", | ||
"tslib": "2.6.2", | ||
"zone.js": "0.14.2" | ||
"tslib": "2.6.3", | ||
"uuid": "^10.0.0" | ||
}, | ||
"overrides": { | ||
"semver": "7.5.4", | ||
|
@@ -77,25 +77,25 @@ | |
"child_process": false | ||
}, | ||
"devDependencies": { | ||
"@angular-devkit/build-angular": "17.0.7", | ||
"@angular-eslint/builder": "17.1.1", | ||
"@angular-eslint/eslint-plugin": "17.1.1", | ||
"@angular-eslint/eslint-plugin-template": "17.1.1", | ||
"@angular-eslint/schematics": "17.1.1", | ||
"@angular-eslint/template-parser": "17.1.1", | ||
"@angular/cli": "17.0.7", | ||
"@angular/compiler-cli": "17.0.7", | ||
"@angular/localize": "17.0.7", | ||
"@cypress/schematic": "^2.5.1", | ||
"@types/crypto-js": "^4.2.1", | ||
"@angular-eslint/builder": "18.1.0", | ||
"@angular-eslint/eslint-plugin": "18.1.0", | ||
"@angular-eslint/eslint-plugin-template": "18.1.0", | ||
"@angular-eslint/schematics": "18.1.0", | ||
"@angular-eslint/template-parser": "18.1.0", | ||
"@angular/build": "^18.1.0", | ||
"@angular/cli": "18.1.0", | ||
"@angular/compiler-cli": "18.1.0", | ||
"@angular/localize": "18.1.0", | ||
"@cypress/schematic": "^2.5.2", | ||
"@types/crypto-js": "^4.2.2", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-prettier": "5.0.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-prettier": "5.1.3", | ||
"ng-openapi-gen": "^0.51.0", | ||
"prettier": "^3.0.3", | ||
"prettier-eslint": "^16.1.1", | ||
"typescript": "5.2.2" | ||
"prettier": "^3.3.3", | ||
"prettier-eslint": "^16.3.0", | ||
"typescript": "5.5.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
client/src/app/components/export-overlay/export-overlay.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.