update Angular to v20 #4
@@ -28,6 +28,7 @@ RUN rm -rf /usr/share/nginx/html/*
|
|||||||
|
|
||||||
# Copy frontend dist folder to nginx html directory
|
# Copy frontend dist folder to nginx html directory
|
||||||
COPY --from=build-frontend /app/dist/browser /usr/share/nginx/html
|
COPY --from=build-frontend /app/dist/browser /usr/share/nginx/html
|
||||||
|
RUN mkdir -p /usr/share/nginx/html/config
|
||||||
|
|
||||||
# Copy backend from the correct build stage
|
# Copy backend from the correct build stage
|
||||||
COPY --from=build-backend /app/publish /app
|
COPY --from=build-backend /app/publish /app
|
||||||
|
|||||||
@@ -23,15 +23,7 @@
|
|||||||
"polyfills": ["zone.js"],
|
"polyfills": ["zone.js"],
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"inlineStyleLanguage": "scss",
|
"inlineStyleLanguage": "scss",
|
||||||
"assets": [
|
"assets": ["src/assets", "src/favicon.ico"],
|
||||||
"src/assets",
|
|
||||||
"src/config",
|
|
||||||
"src/favicon.ico",
|
|
||||||
{
|
|
||||||
"glob": "**/*",
|
|
||||||
"input": "public"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"styles": [
|
"styles": [
|
||||||
"src/assets/css/styles-app-loading.scss",
|
"src/assets/css/styles-app-loading.scss",
|
||||||
"src/assets/css/styles.css",
|
"src/assets/css/styles.css",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve",
|
"start": "ng serve",
|
||||||
"build": "ng build",
|
"build": "ng build --env=prod",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"e2e": "ng e2e"
|
"e2e": "ng e2e"
|
||||||
|
|||||||
Reference in New Issue
Block a user