This commit is contained in:
Tord-Vincent Heggland
2026-04-14 16:06:45 +02:00
parent 1d0178d675
commit 6d159d3382
2 changed files with 16 additions and 3 deletions

View File

@@ -1,10 +1,9 @@
FROM node:22-slim FROM node:22-slim
# Installer codex én gang ved build RUN useradd -ms /bin/bash dev
RUN npm install -g @openai/codex RUN npm install -g @openai/codex
# Sett workspace USER dev
WORKDIR /workspace WORKDIR /workspace
# Default shell
CMD ["bash"] CMD ["bash"]

View File

@@ -10,6 +10,20 @@ services:
- ./workspace:/workspace - ./workspace:/workspace
- codex_config:/root/.config - codex_config:/root/.config
environment:
- HOME=/home/dev
tmpfs:
- /tmp
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
network_mode: bridge
command: sleep infinity command: sleep infinity
volumes: volumes: