debug and pipeline dev containers

This commit is contained in:
Elio Bischof
2025-07-22 16:56:13 +02:00
parent 5a84f27913
commit 14ef5af29e
12 changed files with 62 additions and 27 deletions

View File

@@ -14,3 +14,5 @@ RUN apt-get update && \
libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb && \
apt-get clean && \
corepack enable && COREPACK_ENABLE_DOWNLOAD_PROMPT=0 corepack prepare pnpm@9.1.2 --activate
USER node

View File

@@ -17,8 +17,7 @@
4200,
8080
],
"remoteUser": "node",
"onCreateCommand": "pnpm install -g sass@1.64.1 && pnpm install --frozen-lockfile --recursive",
"onCreateCommand": "pnpm install -g sass@1.64.1",
"customizations": {
"jetbrains": {
"settings": {

View File

@@ -2,13 +2,12 @@ services:
devcontainer:
container_name: devcontainer
user: node
build:
context: .
volumes:
- ../../:/workspaces:cached
- /tmp/.X11-unix:/tmp/.X11-unix:cached
- ~/.cache:/home/vscode/.cache:delegated
- home-dot-cache:/home/node/.cache:delegated
command: sleep infinity
working_dir: /workspaces
environment:
@@ -47,6 +46,7 @@ services:
env_file: ../../apps/login/apps/login/.env.test
network_mode: service:devcontainer
environment:
NODE_ENV: test
PORT: 3001
depends_on:
mock-zitadel:
@@ -219,3 +219,4 @@ services:
volumes:
postgres-data:
home-dot-cache: