From bc1bce306c8e02302bd30411cd7617003ab2dec6 Mon Sep 17 00:00:00 2001 From: user-penguin Date: Wed, 13 Sep 2023 07:29:14 +0700 Subject: [PATCH] fix build butler --- build/ci/.drone.yml | 1 + build/ci/Dockerfile | 1 + deploy/docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 8c3094a..6d76554 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -61,6 +61,7 @@ steps: from_secret: SSH_PORT script: - cd /home/crab/deploys/butler_bot + - cp /etc/ssl/certs/ca-certificates.crt . - mv build/ci/Dockerfile . - mv deploy/docker-compose.yml . - rm -r build deploy diff --git a/build/ci/Dockerfile b/build/ci/Dockerfile index bf30748..69b2031 100644 --- a/build/ci/Dockerfile +++ b/build/ci/Dockerfile @@ -1,4 +1,5 @@ FROM scratch +ADD ca-certificates.crt /etc/ssl/certs/ ADD butler / ADD .env / CMD [ "/butler" ] diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index e2dc6e8..547acd4 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -4,4 +4,4 @@ services: butler: container_name: butler build: . - command: sh butler + command: /butler