9 Commits
Author SHA1 Message Date
marc 97a2e9fc05 template 2022-07-16 23:02:25 +02:00
marc ecdac92243 bye 2022-07-16 23:02:06 +02:00
marc f2b39c3c9e ignoring config.json 2022-07-16 23:01:59 +02:00
marc 7028c24b6c order matters 2022-07-16 23:01:35 +02:00
marc 4dcb73f588 install qr code back 2022-07-16 22:59:37 +02:00
marc 0aa45b9e5e fix path mistake 2022-07-16 22:58:03 +02:00
marc 67eca09386 testing entrypoint 2022-07-16 22:55:19 +02:00
marc 7b249a34d1 build option in docker-compose.yml 2022-07-16 22:03:04 +02:00
marc fbc6b2d31a basic docker-compose 2022-07-16 22:01:39 +02:00
4 changed files with 4 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
config.json
+3 -3
View File
@@ -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" ]
-4
View File
@@ -1,4 +0,0 @@
build:
docker-compose build shadowchat
push:
docker-compose push shadowchat