Skip to content

Commit ce587f4

Browse files
committed
add python3 to hubot
1 parent da1cdb7 commit ce587f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

hubot/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV HUBOT_DESCRIPTION=$HUBOT_NAME-$HUBOT_ADAPTER
1111
ENV HUBOT_SLACK_TOKEN=
1212

1313
RUN set -xe \
14-
&& apk add --update ca-certificates nodejs nodejs-npm \
14+
&& apk add --update ca-certificates nodejs nodejs-npm python3 \
1515
&& npm install -g yo generator-hubot \
1616
&& adduser -s /bin/sh -D hubot
1717

@@ -33,7 +33,10 @@ RUN set -xe \
3333
url \
3434
&& sed -i -r 's/^\s+#//' scripts/example.coffee
3535

36-
VOLUME /home/hobot
36+
VOLUME /home/hobot \
37+
/usr/local/bin \
38+
/usr/lib/python3.6/site-packages
39+
3740
EXPOSE 8080
3841

3942
CMD ["./bin/hubot", "--adapter", "slack"]

0 commit comments

Comments
 (0)