Skip to content

Commit

Permalink
Keep build command around
Browse files Browse the repository at this point in the history
  • Loading branch information
maxproske committed Jun 11, 2023
1 parent a78b064 commit 8c112ef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/with-docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ First, run the development server:
# with each other, by using their container name as a hostname
docker network create my_network

# Build dev
docker compose -f docker-compose.dev.yml build

# Up dev
docker compose -f docker-compose.dev.yml up
```
Expand All @@ -64,6 +67,9 @@ First, run the production server (Final image approximately 110 MB).
# with each other, by using their container name as a hostname
docker network create my_network

# Build prod
docker compose -f docker-compose.prod.yml build

# Up prod in detached mode
docker compose -f docker-compose.prod.yml up -d
```
Expand All @@ -75,6 +81,9 @@ Alternatively, run the production server without without multistage builds (Fina
# with each other, by using their container name as a hostname
docker network create my_network

# Build prod without multistage
docker compose -f docker-compose.prod-without-multistage.yml build

# Up prod without multistage in detached mode
docker compose -f docker-compose.prod-without-multistage.yml up -d
```
Expand Down

0 comments on commit 8c112ef

Please sign in to comment.