fix build butler
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0055e724e9
commit
bc1bce306c
|
@ -61,6 +61,7 @@ steps:
|
||||||
from_secret: SSH_PORT
|
from_secret: SSH_PORT
|
||||||
script:
|
script:
|
||||||
- cd /home/crab/deploys/butler_bot
|
- cd /home/crab/deploys/butler_bot
|
||||||
|
- cp /etc/ssl/certs/ca-certificates.crt .
|
||||||
- mv build/ci/Dockerfile .
|
- mv build/ci/Dockerfile .
|
||||||
- mv deploy/docker-compose.yml .
|
- mv deploy/docker-compose.yml .
|
||||||
- rm -r build deploy
|
- rm -r build deploy
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
ADD ca-certificates.crt /etc/ssl/certs/
|
||||||
ADD butler /
|
ADD butler /
|
||||||
ADD .env /
|
ADD .env /
|
||||||
CMD [ "/butler" ]
|
CMD [ "/butler" ]
|
||||||
|
|
|
@ -4,4 +4,4 @@ services:
|
||||||
butler:
|
butler:
|
||||||
container_name: butler
|
container_name: butler
|
||||||
build: .
|
build: .
|
||||||
command: sh butler
|
command: /butler
|
||||||
|
|
Loading…
Reference in New Issue