Skip to content

Commit a010cd0

Browse files
authored
Fix regression in container that broke tiled serve directory ... and tiled register ... (#812)
* Add client deps to container for file registration. * Add client deps
1 parent e52bab3 commit a010cd0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Write the date in place of the "Unreleased" in the case a new version is release
2020
- Do not require SQL database URIs to specify a "driver" (Python
2121
library to be used for connecting).
2222

23+
### Fixed
24+
25+
- A regression in the container broke support for `tiled register ...` and
26+
`tiled serve directory ...`. When these became client-side operations, the
27+
container needed to add the client-side dependencies to support them.
28+
2329
## v0.1.0b10 (2024-10-11)
2430

2531
- Add kwarg to client logout to auto-clear default identity.

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ COPY . .
3737

3838
# Skip building the UI here because we already did it in the stage
3939
# above using a node container.
40-
RUN TILED_BUILD_SKIP_UI=1 pip install '.[server]'
40+
# Include server and client depedencies here because this container may be used
41+
# for `tiled register ...` and `tiled server directory ...` which invokes
42+
# client-side code.
43+
RUN TILED_BUILD_SKIP_UI=1 pip install '.[all]'
4144

4245
# FROM base as test
4346
#

0 commit comments

Comments
 (0)