22 lines
389 B
Plaintext
22 lines
389 B
Plaintext
FROM python:3.7-alpine
|
|
LABEL maintainer "me@jowj.net"
|
|
|
|
RUN apk update
|
|
|
|
RUN apk add \
|
|
python3 \
|
|
python3-dev \
|
|
libffi-dev
|
|
|
|
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/
|
|
|
|
RUN pip3 install requests slackclient
|
|
|
|
CMD python3 /mojo/mojo-web.py
|