12 Commits
Author SHA1 Message Date
marc 05a42081a1 build option in docker-compose.yml 2022-07-16 22:03:34 +02:00
marc cc0616b74c shadowchat name 2022-07-16 22:02:34 +02:00
marc d6d2ddc2d3 build and push 2022-07-16 22:02:14 +02:00
marc bc30658936 basic docker-compose 2022-07-16 22:02:14 +02:00
marc b5935900a3 Merge branch 'docker' into makefile 2022-07-16 21:59:54 +02:00
marc 461d75d93d comment for now 2022-07-16 21:59:44 +02:00
marc c98718c43d Merge branch 'docker' into makefile 2022-07-16 21:57:36 +02:00
marc db89dd2857 install 2022-07-16 21:57:13 +02:00
marc af5d76f86a Merge branch 'docker' into makefile 2022-07-16 21:55:07 +02:00
marc 46d548048b go 2022-07-16 21:55:01 +02:00
marc 945f726eb0 makefile 2022-07-16 21:54:50 +02:00
marc 4cbe6e7a30 first dockerfile 2022-07-16 21:53:56 +02:00
3 changed files with 29 additions and 0 deletions
+15
View File
@@ -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" ]
+4
View File
@@ -0,0 +1,4 @@
build:
docker-compose build shadowchat
push:
docker-compose push shadowchat
+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"