mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:47:32 +00:00
debug and pipeline dev containers
This commit is contained in:
@@ -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
|
@@ -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": {
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user