File tree 3 files changed +41
-0
lines changed
3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ .git
2
+ ** /* .pyc
3
+ * .egg-info /
4
+ * .swp
5
+ dist /
6
+ coverage /
7
+ tmp /
8
+ docs /_build /
9
+ cache /
10
+ .local /
11
+ .DS_STORE
12
+ .tox /
13
+ results.xml
14
+ .idea /
15
+ .vscode /
16
+ .pytest_cache /
17
+ .Python
18
+ pip-selfcheck.json
19
+ .coverage
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ features:
5
5
6
6
- core: Add support for python3.9 (#1477)
7
7
- chore: Allow dependabot to check GitHub actions weekly (#1464)
8
+ - chore: Add Dockerfile (#1482)
8
9
9
10
fixes:
10
11
Original file line number Diff line number Diff line change
1
+ FROM python:3.8-slim as BUILD
2
+ WORKDIR /wheel
3
+ COPY . .
4
+ RUN pip3 wheel --wheel-dir=/wheel \
5
+ errbot errbot[irc] errbot[slack] errbot[XMPP] errbot[telegram]
6
+
7
+ FROM python:3.8-slim
8
+ COPY --from=BUILD /wheel /wheel
9
+ RUN apt update && \
10
+ apt install -y git && \
11
+ cd /wheel && \
12
+ pip3 -vv install --no-cache-dir --no-index --find-links /wheel \
13
+ errbot errbot[irc] errbot[slack] errbot[XMPP] errbot[telegram] && \
14
+ rm -rf /wheel /var/lib/apt/lists/*
15
+
16
+ RUN useradd -m errbot
17
+ USER errbot
18
+ EXPOSE 3141 3142
19
+ VOLUME /home/errbot
20
+ WORKDIR /home/errbot
21
+ ENTRYPOINT [ "/usr/local/bin/errbot" ]
You can’t perform that action at this time.
0 commit comments