1
0
Fork 0
mirror of https://codeberg.org/june64/mrvc.git synced 2026-01-09 15:52:53 +01:00

add Containerfile

This commit is contained in:
June 2025-08-18 20:00:04 +02:00
commit 89b9eb0c42
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 16 additions and 1 deletions

15
Containerfile Normal file
View file

@ -0,0 +1,15 @@
FROM docker.io/library/golang:alpine AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /out/mrvc
FROM docker.io/library/alpine
COPY --from=build /out/mrvc /mrvc
ENTRYPOINT ["/mrvc"]

View file

@ -53,7 +53,7 @@ Version Support:
## Usage
Get a version of mrvc using either `go build` or nix.
Get a version of mrvc using either `go build`, nix or the Containerfile.
Furthermore a Matrix account with its access token is required.
One way to obtain the access token is by going into Element -> Settings -> "Help & About" and at the bottom under "Advanced" the access token can be copied.