-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update frontend to Angular v14 and Node v18 (LTS)
* chore: updated to Angular version 12 and Node version 16 (LTS) * fix: updated to Angular version 14, fixed dependency conflicts, updated Dockerfile * chore: removed yarn.lock * chore: updated to Angular version 12 and Node version 16 (LTS) * fix: updated to Angular version 14, fixed dependency conflicts, updated Dockerfile * chore: removed yarn.lock * fix: updated angular.json with a working configuration for conditional styles, updated angular to v14 the styles were moved to the assets folder for better consistency * ci: attempt at fixing build automation * ci: attempt at fixing build automation * ci: attempt at fixing build automation * ci: updated test gradle version to match local * fix: dockerfile configuration environment variable --------- Co-authored-by: ewout <[email protected]>
- Loading branch information
Showing
94 changed files
with
19,310 additions
and
52,503 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,5 +1,4 @@ | ||
/* | ||
* This file was generated by the Gradle 'init' task. | ||
*/ | ||
|
||
rootProject.name = 'BlokAtUGent' | ||
rootProject.name = 'BlokAtUGent' |
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 |
---|---|---|
|
@@ -32,6 +32,7 @@ speed-measure-plugin*.json | |
.history/* | ||
|
||
# misc | ||
/.angular/cache | ||
/.sass-cache | ||
/connect.lock | ||
/coverage | ||
|
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,20 +1,21 @@ | ||
### STAGE 1: Build ### | ||
FROM node:18.14.0-alpine AS build | ||
|
||
FROM node:14.21-alpine AS build | ||
WORKDIR /app | ||
RUN npm install -g @angular/cli | ||
|
||
COPY package.json package-lock.json ./ | ||
RUN npm install | ||
|
||
RUN npm install -g @angular/cli@^14.0.0 | ||
RUN npm install --legacy-peer-deps | ||
|
||
COPY . . | ||
|
||
ARG configuration=production | ||
|
||
RUN ng build --configuration=${configuration} | ||
|
||
RUN echo ${configuration} | ||
|
||
### STAGE 2: Run ### | ||
|
||
FROM nginx:1.17.1-alpine | ||
|
||
COPY nginx.conf /etc/nginx/nginx.conf | ||
COPY --from=build /app/dist/frontend /usr/share/nginx/html |
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.