Skip to content

Commit ac889ab

Browse files
Update README and docker-compose.yml
Fixed image name and formatted instructions
1 parent 993e4c2 commit ac889ab

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,27 @@ poetry install --no-root
5555
#### CLI bits
5656
```bash
5757
# poetry
58-
poetry run ./startup.sh <override_port> # ctrl-c to exit
58+
poetry run ./startup.sh <override_port> # ctrl-c to exit
5959

6060
# docker
61-
docker build -t hello-world -f Dockerfile.web .
62-
docker run -it --rm -p 80:3000 hello-world # ctrl-c to exit
63-
docker exec -it hello-world bash # ctrl-d to exit
61+
docker build -t my-hello-world -f Dockerfile.web .
62+
docker run -it --rm -p 80:3000 my-hello-world # ctrl-c to exit
63+
docker exec -it my-hello-world bash # ctrl-d to exit
6464

6565
# docker-compose
6666
docker-compose build --no-cache --parallel
6767
docker-compose up -d
6868
docker-compose down --remove-orphans
6969

7070
# justfile
71-
just # list all options
71+
just # list all options
7272
## docker
73-
just run # ctrl-c to exit
74-
just exec # ctrl-d to exit
73+
just run # ctrl-c to exit
74+
just exec # ctrl-d to exit
7575
## docker-compose
76-
just build-clean # docker-compose build --no-cache --parallel
77-
just up # docker-compose up -d
78-
just down # docker-compose down --remove-orphans
76+
just build-clean # docker-compose build --no-cache --parallel
77+
just up # docker-compose up -d
78+
just down # docker-compose down --remove-orphans
7979
```
8080
#### Clicky-clicky
8181
Copy the `.env.example` file to `.env` and modify the values as needed.
@@ -103,4 +103,4 @@ Automated CI is implemented via GitHub Actions to build and push this repository
103103
[Instructions to disable this action](https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow) if you don't want this feature.
104104

105105
## TODO
106-
* [Open Issues](https://github.com/pythoninthegrass/python_template/issues)
106+
* [Open Issues](https://github.com/pythoninthegrass/docker_101/issues)

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ version: "3.9"
22

33
services:
44
helloworld:
5-
container_name: hello-world
6-
platform: linux/amd64 # linux/amd64 / linux/arm64/v8
7-
image: hello_world
8-
tty: true # false for `entrypoint` in Dockerfile
9-
stdin_open: true # false for `entrypoint` in Dockerfile
5+
container_name: my-hello-world
6+
platform: linux/amd64 # linux/amd64 / linux/arm64/v8
7+
# image: jollygoodhorsepower/my-hello-world
8+
tty: true # false for `entrypoint` in Dockerfile
9+
stdin_open: true # false for `entrypoint` in Dockerfile
1010
env_file:
1111
- ./.env
1212
environment:

0 commit comments

Comments
 (0)