clean buidl

This commit is contained in:
cupcakearmy
2019-02-16 15:44:18 +01:00
parent d06fff5bc4
commit bb8a9bfcda
29 changed files with 29 additions and 2313 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
# Multi State
# Download and extract latest code
FROM alpine as GIT
ADD https://github.com/instabot-py/instabot.py/archive/master.zip /tmp
RUN unzip -q /tmp/master.zip
RUN cp -r instabot.py-master/src instabot.py-master/requirements.txt /tmp
FROM python:3-alpine
WORKDIR /app
COPY --from=GIT /tmp/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY --from=GIT /tmp/src ./src
COPY app.py .
CMD [ "python3", "-u", "app.py" ]