Skip to content

Commit 86b43f9

Browse files
committed
refactor: rename Containerfile to Dockerfile
1 parent 22d1661 commit 86b43f9

3 files changed

Lines changed: 23 additions & 9 deletions

File tree

File renamed without changes.

README.md

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,41 @@ The Textwire LSP project is licensed under the [MIT License](LICENSE) and is fre
1010

1111
## Contribute
1212
### With a Container Engine
13-
> [!NOTE]
14-
> If you use [🐳 Docker](https://app.docker.com/) instead of [🦦 Podman](https://podman.io/), just replace `podman-compose` with `docker compose` in code examples below.
15-
1613
#### Build the Image
17-
To build the image, run this command:
14+
With Podman:
1815
```bash
1916
podman-compose build
2017
```
2118

19+
With Docker:
20+
```bash
21+
docker compose build
22+
```
23+
2224
#### Run the Container
23-
After the image is build, you can run a container from that image. Run this command to create a container and enter this:
25+
After the image is build, you can run a container from that image. Run this command to create a container:
26+
27+
With Podman:
2428
```bash
2529
podman-compose run --rm app sh
2630
```
2731

32+
With Docker:
33+
```bash
34+
docker compose run --rm app sh
35+
```
36+
2837
Inside of the container, you will be able to run commands like `make test` and `make build`.
2938

3039
#### Remove the Container
31-
When you are done working on a project, you can remove the container to cleanup after yourself, run this:
40+
When you are done working on a project, you can remove the container to cleanup after yourself:
41+
42+
With Podman:
3243
```bash
3344
podman-compose down
3445
```
46+
47+
With Docker:
48+
```bash
49+
docker compose down
50+
```

compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ services:
44
app:
55
image: textwire-lsp
66
container_name: textwire-lsp
7-
build:
8-
context: .
9-
dockerfile: Containerfile
7+
build: .
108
volumes:
119
- .:/app:z

0 commit comments

Comments
 (0)