mirror of
https://codeberg.org/june64/mrvc.git
synced 2026-01-09 23:52:54 +01:00
add Containerfile
This commit is contained in:
parent
a290bb1372
commit
89b9eb0c42
2 changed files with 16 additions and 1 deletions
15
Containerfile
Normal file
15
Containerfile
Normal 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"]
|
||||||
|
|
@ -53,7 +53,7 @@ Version Support:
|
||||||
|
|
||||||
## Usage
|
## 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.
|
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.
|
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.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue