Skip to content

Commit 946ab8d

Browse files
authored
Add docker instructions + fix instructions
This pr includes the docker instructions from progval#72 but also includes some corrections to the existing instructions. It now details cloning the source code and moving into it but most importantly a critical step where the Containerfile needs to be copied to the root of the project folder to correctly build
1 parent 47e46ac commit 946ab8d

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

INSTALL.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,37 @@ Alternatively a Containerfile is provided as well for convenience. The
6666
image can be built with either [podman](https://podman.io/) or
6767
[docker](https://www.docker.com/).
6868

69+
First you will need to clone the repo and cd into it.
70+
You will need to copy the Containerfile to the root of the project folder too:
71+
72+
```
73+
git clone https://github.com/progval/matrix2051.git
74+
cd matrix2051
75+
cp dist/Containerfile Dockerfile
76+
```
77+
78+
## Podman
6979
To build it:
7080

7181
```
72-
podman build -t matrix2051 --file dist/Containerfile .
82+
podman build -t matrix2051 --file Containerfile .
7383
```
7484

7585
To run it:
7686

7787
```
7888
podman run --publish 2051:2051 --interactive matrix2051
7989
```
90+
91+
## Docker
92+
To build it:
93+
94+
```
95+
docker build -t matrix2051 .
96+
```
97+
98+
To run it:
99+
100+
```
101+
docker run -p 2051:2051 -it matrix2051
102+
```

0 commit comments

Comments
 (0)