build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Amazed 2021-11-17 12:43:43 +01:00
parent cacd013ef9
commit cb6a91c384
3 changed files with 17 additions and 0 deletions

2
.drone.yml Normal file
View File

@ -0,0 +1,2 @@
kind: template
load: python.starlark

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM python:3.9-slim
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENTRYPOINT [ "python", "-u", "/app/main.py" ]

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: "3"
services:
app:
image: giants-posts-bot:latest
build:
context: .
dockerfile: Dockerfile
restart: always
volumes:
- './config.json:/app/config.json'