Moved to alpine

This commit is contained in:
nicco 2018-04-18 14:02:11 +02:00
parent c48aa24441
commit d46e7c8ad8
1 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
FROM python:alpine
FROM alpine
WORKDIR /app
RUN apk add --no-cache git
RUN apk add --no-cache git python3
RUN git clone https://github.com/instabot-py/instabot.py.git .
RUN pip install --no-cache-dir -r requirements.txt
RUN python3 -m pip install --no-cache-dir -r requirements.txt
COPY ./app.py .
CMD [ "python", "-u", "./app.py" ]
CMD [ "python3", "-u", "./app.py" ]