first
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -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"]
|
||||
16
docker-compose.yaml
Normal file
16
docker-compose.yaml
Normal file
@@ -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:
|
||||
Reference in New Issue
Block a user