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
|
FROM alpine
|
||||||
|
|
||||||
RUN apk add go git
|
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
|
WORKDIR /opt/shadowchat
|
||||||
# RUN go install github.com/skip2/go-qrcode@latest
|
|
||||||
RUN go mod init shadowchat && go mod tidy
|
RUN go mod init shadowchat && go mod tidy
|
||||||
|
RUN go get github.com/skip2/go-qrcode@latest
|
||||||
|
|
||||||
COPY config.json /opt
|
COPY config.json /opt
|
||||||
|
|
||||||
EXPOSE 8900
|
EXPOSE 8900
|
||||||
|
|
||||||
ENTRYPOINT [ "go", "run", "main.go" ]
|
ENTRYPOINT [ "go", "run", "/opt/shadowchat/main.go" ]
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
build:
|
|
||||||
docker-compose build shadowchat
|
|
||||||
push:
|
|
||||||
docker-compose push shadowchat
|
|
||||||
Reference in New Issue
Block a user