1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-02-01 13:17:47 +02:00

add python3 to hubot

This commit is contained in:
kev 2019-07-02 13:43:57 +08:00
parent da1cdb7dd6
commit ce587f42c9

View File

@ -11,7 +11,7 @@ ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
ENV HUBOT_SLACK_TOKEN=
RUN set -xe \
&& apk add --update ca-certificates nodejs nodejs-npm \
&& apk add --update ca-certificates nodejs nodejs-npm python3 \
&& npm install -g yo generator-hubot \
&& adduser -s /bin/sh -D hubot
@ -33,7 +33,10 @@ RUN set -xe \
url \
&& sed -i -r 's/^\s+#//' scripts/example.coffee
VOLUME /home/hobot
VOLUME /home/hobot \
/usr/local/bin \
/usr/lib/python3.6/site-packages
EXPOSE 8080
CMD ["./bin/hubot", "--adapter", "slack"]