Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97a2e9fc05 | ||
|
|
ecdac92243 | ||
|
|
f2b39c3c9e | ||
|
|
7028c24b6c | ||
|
|
4dcb73f588 | ||
|
|
0aa45b9e5e | ||
|
|
67eca09386 | ||
|
|
7b249a34d1 | ||
|
|
fbc6b2d31a |
@@ -0,0 +1 @@
|
||||
config.json
|
||||
+3
-3
@@ -1,15 +1,15 @@
|
||||
FROM alpine
|
||||
|
||||
RUN apk add go git
|
||||
RUN git clone https://git.sr.ht/~anon_/shadowchat /opt
|
||||
RUN git clone https://git.sr.ht/~anon_/shadowchat /opt/shadowchat
|
||||
|
||||
WORKDIR /opt/shadowchat
|
||||
# RUN go install github.com/skip2/go-qrcode@latest
|
||||
RUN go mod init shadowchat && go mod tidy
|
||||
RUN go get github.com/skip2/go-qrcode@latest
|
||||
|
||||
COPY config.json /opt
|
||||
|
||||
EXPOSE 8900
|
||||
|
||||
ENTRYPOINT [ "go", "run", "main.go" ]
|
||||
ENTRYPOINT [ "go", "run", "/opt/shadowchat/main.go" ]
|
||||
|
||||
|
||||
@@ -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