You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
389 B
22 lines
389 B
5 years ago
|
FROM python:3.7-alpine
|
||
6 years ago
|
LABEL maintainer "me@jowj.net"
|
||
|
|
||
|
RUN apk update
|
||
|
|
||
|
RUN apk add \
|
||
|
python3 \
|
||
5 years ago
|
python3-dev \
|
||
5 years ago
|
libffi-dev
|
||
6 years ago
|
|
||
5 years ago
|
RUN apk add --no-cache curl python pkgconfig python-dev openssl-dev libffi-dev musl-dev make gcc
|
||
5 years ago
|
|
||
5 years ago
|
RUN pip3 install --upgrade pip
|
||
|
|
||
|
RUN pip3 install --upgrade setuptools
|
||
|
|
||
5 years ago
|
COPY ./ ./mojo/
|
||
6 years ago
|
|
||
5 years ago
|
RUN pip3 install requests slackclient
|
||
6 years ago
|
|
||
5 years ago
|
CMD python3 /mojo/mojo-web.py
|