build
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
cacd013ef9
commit
cb6a91c384
|
@ -0,0 +1,2 @@
|
|||
kind: template
|
||||
load: python.starlark
|
|
@ -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" ]
|
|
@ -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'
|
Loading…
Reference in New Issue