Skip to content

Commit 16901aa

Browse files
authored
Merge pull request #166 from fyliu/patch-3
Fix dockershell command
2 parents 5d50265 + d8ad644 commit 16901aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ dockerserve:
3232
docker compose -f $(DOCKER_CONFIG) up
3333

3434
# Use this command to inspect the container, run management commands,
35-
# or run anything else on the Django container
35+
# or run anything else on the Django container. It does expect the
36+
# container to already be running
3637
dockershell:
37-
docker compose -f $(DOCKER_CONFIG) run --rm django /bin/bash
38+
docker compose -f $(DOCKER_CONFIG) exec django /bin/bash
3839

3940
# Build and deploy the production container
4041
deploy:

0 commit comments

Comments
 (0)