Merge remote-tracking branch 'origin/main' into bot-features
This commit is contained in:
commit
a6da04ac03
12
.drone.yml
12
.drone.yml
@ -25,6 +25,10 @@ steps:
|
||||
repo:
|
||||
from_secret: repo_webservice
|
||||
dockerfile: webservice/Dockerfile
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
|
||||
- name: publish_bot
|
||||
image: plugins/docker
|
||||
@ -38,6 +42,10 @@ steps:
|
||||
repo:
|
||||
from_secret: repo_bot
|
||||
dockerfile: telegram_bot/Dockerfile
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
|
||||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
@ -58,3 +66,7 @@ steps:
|
||||
PLUGIN_PASSWORD:
|
||||
from_secret: ssh_password
|
||||
PLUGIN_SCRIPT: /opt/docker/TelegramAktienBot/deploy.sh
|
||||
when:
|
||||
branch:
|
||||
include:
|
||||
- main
|
||||
|
@ -1,7 +1,6 @@
|
||||
FROM python:3.10-alpine
|
||||
FROM python:3.10-slim
|
||||
|
||||
WORKDIR /srv/flask_app
|
||||
RUN apk add build-base jpeg-dev zlib-dev musl-dev linux-headers g++
|
||||
|
||||
COPY telegram_bot/requirements.txt /srv/flask_app/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user