Skip to content

Commit 9a7e831

Browse files
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! !fixup Introduce devcontainer service container based development environment (#705)
1 parent 6a3dbc0 commit 9a7e831

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

docker-compose.base.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ services:
4848
node:
4949
build: docker/node
5050
user: ${COMPOSE_UID}:${COMPOSE_GID}
51-
command: sh -c 'if [ "$$COMPOSE_START_JS_FILES_WATCHER_AT_START" = "true" ]; then npm ci && npm start; else sleep infinity; fi'
51+
command: sleep infinity
52+
entrypoint: sh -c 'if [ "$$COMPOSE_START_JS_FILES_WATCHER_AT_START" = "true" ]; then npm ci && npm start; fi'
5253
env_file:
5354
- .env
5455
volumes:
@@ -70,7 +71,8 @@ services:
7071
docs:
7172
build: docker/mkdocs
7273
user: ${COMPOSE_UID}:${COMPOSE_GID}
73-
entrypoint: sh -c 'if [ "$$COMPOSE_START_DOCS_SERVER_AT_START" = "true" ]; then mkdocs serve; else sleep infinity; fi'
74+
command: sleep infinity
75+
entrypoint: sh -c 'if [ "$$COMPOSE_START_DOCS_SERVER_AT_START" = "true" ]; then mkdocs serve; fi'
7476
env_file:
7577
- .env
7678
ports:

0 commit comments

Comments
 (0)