mirror of
https://github.com/cupcakearmy/docker-instabot.git
synced 2024-12-22 07:16:24 +00:00
Docker files
This commit is contained in:
parent
a7c297a546
commit
d7fe80c2f5
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: '3.6'
|
||||||
|
|
||||||
|
services:
|
||||||
|
instabot:
|
||||||
|
build: ./
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./app.py:/app/app.py
|
9
dockerfile
Normal file
9
dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM python:alpine
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
RUN apk add --no-cache git
|
||||||
|
RUN git clone https://github.com/instabot-py/instabot.py.git .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
CMD [ "python", "-u", "./app.py" ]
|
Loading…
Reference in New Issue
Block a user