diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..9a14ec8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.6' + +services: + instabot: + build: ./ + restart: always + volumes: + - ./app.py:/app/app.py \ No newline at end of file diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..fcc83b8 --- /dev/null +++ b/dockerfile @@ -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" ] \ No newline at end of file