refactor: slim down the backend containers (#4233)

* refactor: slim down the backend containers

* refactor: make containers run as non-root user in container

* chore: correct casing for the build stage definitions

* chore: remove docker compose version field as its obsolete

* chore: optimise chown and chmod into the COPY command itself

* chore: add package overrides for packages with reported vulns

* chore: add pnpm to containers + set workdir dir to the backend project

* fix: permission issues with the fe containers

* chore: define env variables on AIO
This commit is contained in:
Andrew Bastin
2024-08-08 11:31:13 +05:30
committed by GitHub
parent bbda18c728
commit afea75694f
12 changed files with 1256 additions and 442 deletions

View File

@@ -34,7 +34,13 @@
},
"pnpm": {
"overrides": {
"vue": "3.3.9"
"vue": "3.3.9",
"@nestjs-modules/mailer>mjml": "5.0.0-alpha.4",
"subscriptions-transport-ws>ws": "7.5.10",
"@nestjs/graphql>ws": "8.17.1",
"braces": "3.0.3",
"express": "4.19.2",
"pug": "3.0.3"
},
"packageExtensions": {
"@hoppscotch/httpsnippet": {