Skip to content

Commit e16a25c

Browse files
authored
Merge pull request #2664 from lianmakesthings/improve-docs
add explanation to necessary command for devimages
2 parents 49d2fec + 4b19a15 commit e16a25c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/pages/configuration/dev/modifications/dev-image.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ dev:
1313
# highlight-start
1414
imageSelector: ghcr.io/org/project/image
1515
devImage: ghcr.io/loft-sh/devspace-containers/python:3-alpine
16+
command: ["sleep", "100000"]
1617
# highlight-end
1718
```
1819

19-
The example above selects the container with the stable/prod image `ghcr.io/org/project/image` and replaces the image with the prebuilt dev-optimized image `ghcr.io/loft-sh/devspace-containers/python:3-alpine`.
20+
The example above selects the container with the stable/prod image `ghcr.io/org/project/image` and replaces the image with the prebuilt dev-optimized image `ghcr.io/loft-sh/devspace-containers/python:3-alpine`.
21+
_Note: We're overwriting the entrypoint here to keep the container alive._
2022

2123
:::tip Prebuilt Dev Images = Generic Images Without Source Code
2224
Prebuilt images used for development are usually generic images that do **not** contain your application or any source code. They often only contain the necessary tooling to build, run, and debug your application in the appropriate language.

0 commit comments

Comments
 (0)