Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05a42081a1 | ||
|
|
cc0616b74c | ||
|
|
d6d2ddc2d3 | ||
|
|
bc30658936 | ||
|
|
b5935900a3 | ||
|
|
461d75d93d | ||
|
|
c98718c43d | ||
|
|
db89dd2857 | ||
|
|
af5d76f86a | ||
|
|
46d548048b | ||
|
|
945f726eb0 | ||
|
|
4cbe6e7a30 |
+15
@@ -0,0 +1,15 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add go git
|
||||
RUN git clone https://git.sr.ht/~anon_/shadowchat /opt
|
||||
|
||||
WORKDIR /opt/shadowchat
|
||||
# RUN go install github.com/skip2/go-qrcode@latest
|
||||
RUN go mod init shadowchat && go mod tidy
|
||||
|
||||
COPY config.json /opt
|
||||
|
||||
EXPOSE 8900
|
||||
|
||||
ENTRYPOINT [ "go", "run", "main.go" ]
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
build:
|
||||
docker-compose build shadowchat
|
||||
push:
|
||||
docker-compose push shadowchat
|
||||
@@ -0,0 +1,10 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
shadowchat:
|
||||
image: marcpartensky/shadowchat
|
||||
restart: unless-stopped
|
||||
build: .
|
||||
volumes:
|
||||
- ./config.json:/opt/config.json
|
||||
ports:
|
||||
- "8900:8900"
|
||||
Reference in New Issue
Block a user