mojojojo-bot/mojo-web/dockerfile

22 lines
389 B
Plaintext
Raw Normal View History

FROM python:3.7-alpine
2018-05-14 02:00:22 +00:00
LABEL maintainer "me@jowj.net"
RUN apk update
RUN apk add \
python3 \
python3-dev \
2019-05-28 20:15:39 +00:00
libffi-dev
2018-05-14 02:00:22 +00:00
RUN apk add --no-cache curl python pkgconfig python-dev openssl-dev libffi-dev musl-dev make gcc
RUN pip3 install --upgrade pip
RUN pip3 install --upgrade setuptools
COPY ./ ./mojo/
2018-05-14 02:00:22 +00:00
RUN pip3 install requests slackclient
2018-05-14 02:00:22 +00:00
CMD python3 /mojo/mojo-web.py