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