13 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
marc 461d75d93d comment for now 2022-07-16 21:59:44 +02:00
marc db89dd2857 install 2022-07-16 21:57:13 +02:00
marc 46d548048b go 2022-07-16 21:55:01 +02:00
marc 4cbe6e7a30 first dockerfile 2022-07-16 21:53:56 +02:00
4 changed files with 26 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
config.json
+15
View File
@@ -0,0 +1,15 @@
FROM alpine
RUN apk add go git
RUN git clone https://git.sr.ht/~anon_/shadowchat /opt/shadowchat
WORKDIR /opt/shadowchat
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", "/opt/shadowchat/main.go" ]
+10
View File
@@ -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"