Skip to content

Commit

Permalink
docker: use build script
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jan 10, 2025
1 parent 3d04feb commit 261268c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev

COPY . /build
WORKDIR /build
RUN go build -o /usr/bin/mautrix-meta
RUN ./build.sh

FROM alpine:3.21

Expand All @@ -13,7 +13,7 @@ ENV UID=1337 \

RUN apk add --no-cache ffmpeg su-exec ca-certificates olm bash jq yq-go curl

COPY --from=builder /usr/bin/mautrix-meta /usr/bin/mautrix-meta
COPY --from=builder /build/mautrix-meta /usr/bin/mautrix-meta
COPY --from=builder /build/docker-run.sh /docker-run.sh
VOLUME /data

Expand Down

0 comments on commit 261268c

Please sign in to comment.