fix build butler
continuous-integration/drone/push Build is passing Details

This commit is contained in:
user-penguin 2023-09-13 07:29:14 +07:00
parent 0055e724e9
commit bc1bce306c
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -1,4 +1,5 @@
FROM scratch
ADD ca-certificates.crt /etc/ssl/certs/
ADD butler /
ADD .env /
CMD [ "/butler" ]

View File

@ -4,4 +4,4 @@ services:
butler:
container_name: butler
build: .
command: sh butler
command: /butler