diff --git a/build/docker/Dockerfile.monolith b/build/docker/Dockerfile.monolith index eb099c4cc..e59fd0872 100644 --- a/build/docker/Dockerfile.monolith +++ b/build/docker/Dockerfile.monolith @@ -14,7 +14,7 @@ RUN go build -trimpath -o bin/ ./cmd/generate-keys FROM alpine:latest -COPY --from=base /build/bin/* /usr/bin +COPY --from=base /build/bin/* /usr/bin/ VOLUME /etc/dendrite WORKDIR /etc/dendrite diff --git a/build/docker/Dockerfile.polylith b/build/docker/Dockerfile.polylith index 1a7ba193e..5cb53bbd9 100644 --- a/build/docker/Dockerfile.polylith +++ b/build/docker/Dockerfile.polylith @@ -14,7 +14,7 @@ RUN go build -trimpath -o bin/ ./cmd/generate-keys FROM alpine:latest -COPY --from=base /build/bin/* /usr/bin +COPY --from=base /build/bin/* /usr/bin/ VOLUME /etc/dendrite WORKDIR /etc/dendrite diff --git a/build/docker/docker-compose.monolith.yml b/build/docker/docker-compose.monolith.yml index 024183aa6..ef8975b9b 100644 --- a/build/docker/docker-compose.monolith.yml +++ b/build/docker/docker-compose.monolith.yml @@ -12,6 +12,7 @@ services: - 8448:8448 volumes: - ./config:/etc/dendrite + - ./media:/var/dendrite/media networks: - internal diff --git a/build/docker/docker-compose.polylith.yml b/build/docker/docker-compose.polylith.yml index e95e19574..5174830b5 100644 --- a/build/docker/docker-compose.polylith.yml +++ b/build/docker/docker-compose.polylith.yml @@ -15,6 +15,7 @@ services: command: mediaapi volumes: - ./config:/etc/dendrite + - ./media:/var/dendrite/media networks: - internal