commit ee97fa4711a38b103bc0ebfffa7cd9dd408bf779 Author: Tord-Vincent Heggland Date: Tue Apr 14 15:52:25 2026 +0200 first diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c087dbc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:22-slim + +# Installer codex én gang ved build +RUN npm install -g @openai/codex + +# Sett workspace +WORKDIR /workspace + +# Default shell +CMD ["bash"] diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..3e1ce0f --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,16 @@ +services: + codex: + build: . + container_name: codex + working_dir: /workspace + stdin_open: true + tty: true + + volumes: + - ./workspace:/workspace + - codex_config:/root/.config + + command: sleep infinity + +volumes: + codex_config: