docker-instabot/bot/dockerfile

12 lines
264 B
Plaintext
Raw Normal View History

2018-04-18 14:02:11 +02:00
FROM alpine
2018-04-11 12:38:22 +02:00
WORKDIR /app
2018-04-18 14:02:11 +02:00
RUN apk add --no-cache git python3
2018-04-11 12:38:22 +02:00
RUN git clone https://github.com/instabot-py/instabot.py.git .
2018-04-18 14:02:11 +02:00
RUN python3 -m pip install --no-cache-dir -r requirements.txt
2018-04-26 16:49:16 +02:00
RUN apk del --prune git
2018-04-11 12:38:22 +02:00
2018-04-11 15:19:44 +02:00
COPY ./app.py .
2018-04-18 14:02:11 +02:00
CMD [ "python3", "-u", "./app.py" ]