this repo has no description

docker-compose file

Changed files
+11 -1
+2 -1
Dockerfile
···
COPY . .
RUN go mod download
-
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -a -installsuffix cgo -o tangled-alert-bot .
FROM alpine:latest
···
COPY . .
RUN go mod download
+
COPY . .
+
RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -a -installsuffix cgo -o tangled-alert-bot ./cmd/.
FROM alpine:latest
+9
docker-compose.yaml
···
···
+
services:
+
tangled-alert-bot:
+
container_name: tangled-alert-bot
+
image: willdot/tangled-alert-bot
+
volumes:
+
- ./data:/app/data
+
environment:
+
DATABASE_PATH: "/app/data/"
+
restart: always