Skip to content

Commit 0d384a3

Browse files
committed
fix: streamlined the building of the REPL containers so that they aren't too bloated
1 parent 7834791 commit 0d384a3

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.dockerignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Exclude everything by default
2+
*
3+
4+
# Include only the essential files needed for building the library
5+
!README.md
6+
!LICENSE
7+
!pyproject.toml
8+
!poetry.lock
9+
!zitadel_client/
10+
!zitadel_client/**/*
11+
12+
# Exclude Python bytecode files
13+
zitadel_client/**/__pycache__/
14+
zitadel_client/**/*$py.class

devbox.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"check": [
2424
"poetry run ruff check .",
2525
"poetry run mypy"
26+
],
27+
"replit": [
28+
"docker build --tag python-repl --file Dockerfile .",
29+
"docker run --rm --interactive --tty python-repl"
2630
]
2731
}
2832
}

0 commit comments

Comments
 (0)