diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b8d8a5f..7269f1d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,19 +1,24 @@ { - "image": "mcr.microsoft.com/vscode/devcontainers/universal", - "features": { - "ghcr.io/devcontainers-contrib/features/pre-commit:2": { - "version": "latest" - } - }, - "postCreateCommand": ".devcontainer/post_create_command.sh", - "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", - "customizations": { - "vscode": { - "extensions": [ - "GitHub.copilot", - "ms-python.python", - "esbenp.prettier-vscode" - ] - } + "name": "llm-pdf-qa-workshop", + "image": "mcr.microsoft.com/vscode/devcontainers/universal", + "features": { + "ghcr.io/devcontainers-contrib/features/pre-commit:2": { + "version": "latest" } -} \ No newline at end of file + }, + "mounts": [ + "source=${env:HOME}/.gitconfig,target=/root/.gitconfig,type=bind", + "source=${env:HOME}/.ssh,target=/root/.ssh,type=bind" + ], + "postCreateCommand": ".devcontainer/post_create_command.sh", + "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}", + "customizations": { + "vscode": { + "extensions": [ + "GitHub.copilot", + "ms-python.python", + "esbenp.prettier-vscode" + ] + } + } +} diff --git a/.devcontainer/post_create_command.sh b/.devcontainer/post_create_command.sh old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b7a1727 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM python:3.10-slim +