mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
fix: broken glob path for lint job
Linting was only running on a subset of our Markdown files in `content`. This change fixes the glob path, and adds appropriate exclude paths. Because the glob pattern was incorrect before, we had lots of files that didn't comply with the linting rules. This commit also fixes those issues. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -72,15 +72,15 @@ Let's get started!
|
||||
You should now have the following contents in your `python-docker`
|
||||
directory.
|
||||
|
||||
```
|
||||
├── python-docker/
|
||||
│ ├── app.py
|
||||
│ ├── requirements.txt
|
||||
│ ├── .dockerignore
|
||||
│ ├── compose.yaml
|
||||
│ ├── Dockerfile
|
||||
│ └── README.md
|
||||
```
|
||||
```text
|
||||
├── python-docker/
|
||||
│ ├── app.py
|
||||
│ ├── requirements.txt
|
||||
│ ├── .dockerignore
|
||||
│ ├── compose.yaml
|
||||
│ ├── Dockerfile
|
||||
│ └── README.md
|
||||
```
|
||||
|
||||
To learn more about the files that `docker init` added, see the following:
|
||||
- [Dockerfile](../../engine/reference/builder.md)
|
||||
|
||||
@@ -100,7 +100,7 @@ Before you run the application using Compose, notice that this Compose file spec
|
||||
|
||||
In the cloned repository's directory, create a new directory named `db` and inside that directory create a file named `password.txt` that contains the password for the database. Using your favorite IDE or text editor, add the following contents to the `password.txt` file.
|
||||
|
||||
```
|
||||
```text
|
||||
mysecretpassword
|
||||
```
|
||||
|
||||
@@ -109,17 +109,17 @@ Save and close the `password.txt` file.
|
||||
You should now have the following contents in your `python-docker-dev`
|
||||
directory.
|
||||
|
||||
```
|
||||
├── python-docker-dev/
|
||||
│ ├── db/
|
||||
│ │ └── password.txt
|
||||
│ ├── app.py
|
||||
│ ├── requirements.txt
|
||||
│ ├── .dockerignore
|
||||
│ ├── compose.yaml
|
||||
│ ├── Dockerfile
|
||||
│ └── README.md
|
||||
```
|
||||
```text
|
||||
├── python-docker-dev/
|
||||
│ ├── db/
|
||||
│ │ └── password.txt
|
||||
│ ├── app.py
|
||||
│ ├── requirements.txt
|
||||
│ ├── .dockerignore
|
||||
│ ├── compose.yaml
|
||||
│ ├── Dockerfile
|
||||
│ └── README.md
|
||||
```
|
||||
|
||||
Now, run the following `docker compose up` command to start your application.
|
||||
|
||||
@@ -239,4 +239,4 @@ Related information:
|
||||
|
||||
In the next section, you'll take a look at how to set up a CI/CD pipeline using GitHub Actions.
|
||||
|
||||
{{< button text="Configure CI/CD" url="configure-ci-cd.md" >}}
|
||||
{{< button text="Configure CI/CD" url="configure-ci-cd.md" >}}
|
||||
|
||||
Reference in New Issue
Block a user