Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.git
.gitignore
__pycache__/
*.py[cod]
.venv/
venv/
env/
.pytest_cache/
.mypy_cache/
.ruff_cache/
.DS_Store
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Python cache and bytecode
__pycache__/
*.py[cod]
*$py.class

# Virtual environments
.venv/
venv/
env/

# Tooling caches
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
htmlcov/

# IDE/editor files
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
Thumbs.db
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM python:3.11-slim

WORKDIR /workspace

RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates \
&& rm -rf /var/lib/apt/lists/*

CMD ["bash"]
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# Codex
# Repozytorium Bazowe

To repozytorium zawiera podstawową konfigurację startową:
- `.gitignore` dla typowych plików lokalnych i cache narzędzi.
- `Dockerfile` do uruchamiania środowiska roboczego w kontenerze.
- `.dockerignore` ograniczający kontekst buildu obrazu.

## Uruchomienie kontenera

Zbuduj obraz:

```bash
docker build -t codex-workspace .
```

Uruchom kontener:

```bash
docker run --rm -it -v "$(pwd):/workspace" codex-workspace
```

## Klonowanie zewnętrznego repozytorium (opcjonalnie)

Jeśli chcesz zainicjalizować to repozytorium zawartością projektu `langchain-ai/langchain`,
wykonaj lokalnie (poza tym środowiskiem):

```bash
gh repo clone langchain-ai/langchain .
```
Comment on lines +25 to +29