8 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 c98718c43d Merge branch 'docker' into makefile 2022-07-16 21:57:36 +02:00
marc af5d76f86a Merge branch 'docker' into makefile 2022-07-16 21:55:07 +02:00
marc 945f726eb0 makefile 2022-07-16 21:54:50 +02:00
4 changed files with 7 additions and 4 deletions
-1
View File
@@ -1 +0,0 @@
config.json
+3 -3
View File
@@ -1,15 +1,15 @@
FROM alpine
RUN apk add go git
RUN git clone https://git.sr.ht/~anon_/shadowchat /opt/shadowchat
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
RUN go get github.com/skip2/go-qrcode@latest
COPY config.json /opt
EXPOSE 8900
ENTRYPOINT [ "go", "run", "/opt/shadowchat/main.go" ]
ENTRYPOINT [ "go", "run", "main.go" ]
+4
View File
@@ -0,0 +1,4 @@
build:
docker-compose build shadowchat
push:
docker-compose push shadowchat