Skip to content

Commit b961ff6

Browse files
committed
Fix Docker builds
1 parent c14d147 commit b961ff6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.dockerignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33

44
# things to include
5-
!matrix_content_scanner
5+
!src
66
!README.md
77
!pyproject.toml
88
!setup.cfg

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Where `CONFIG_FILE` is the path to your configuration file.
3333
## Docker
3434

3535
This project provides a Docker image to run it, published as
36-
`matrixdotorg/matrix-content-scanner`.
36+
`vectorim/matrix-content-scanner`.
3737

3838
To use it, copy the [sample configuration file](/config.sample.yaml) into a dedicated
3939
directory, edit it accordingly with your requirements, and then mount this directory as
@@ -43,7 +43,7 @@ Web server is configured to listen on.
4343
For example, assuming the port for the Web server is `8080`:
4444

4545
```shell
46-
docker run -p 8080:8080 -v /path/to/your/config/directory:/data matrixdotorg/matrix-content-scanner
46+
docker run -p 8080:8080 -v /path/to/your/config/directory:/data vectorim/matrix-content-scanner
4747
```
4848

4949
## API

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update -qq && apt-get install -qq libmagic1
88

99
# Copy the necessary project files into the image.
1010
COPY setup.cfg pyproject.toml README.md /
11-
COPY matrix_content_scanner /matrix_content_scanner/
11+
COPY src /src/
1212

1313
# Install the project and its dependencies, using gitlab.matrix.org as the index. This is
1414
# so we can get a python-olm wheel, which will have more recent bindings than the current

0 commit comments

Comments
 (0)