Maybe a docker build
Some checks failed
ci/woodpecker/manual/docker Pipeline failed

This commit is contained in:
Thomas Renger 2024-08-28 21:45:31 +02:00
parent f09544bbee
commit 80dff07d94
3 changed files with 13 additions and 2 deletions

View file

@ -3,7 +3,9 @@ pipeline:
secrets: [docker_username, docker_password] secrets: [docker_username, docker_password]
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: dentaku/vollmond context: bot
# dockerfile: bot/Dockerfile
repo: dentaku/vollmond-bot
tag: latest tag: latest
auto-tag: true auto-tag: true
platforms: [linux/amd64, linux/arm64] platforms: [linux/amd64, linux/arm64]

View file

@ -1 +1,9 @@
# pip3 install Mastodon.py FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./testbot.py" ]

1
bot/requirements.txt Normal file
View file

@ -0,0 +1 @@
Mastodon.py