-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update base python to 3.9 * feat: add minimal config * fix: set init config logging level to INFO Setting logging to INFO so it isn't overwhelming for new users. * refactor: install errbot from local, not pypi * docs: add info to CHANGES
Showing
3 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
FROM python:3.8-slim as BUILD | ||
FROM python:3.9-slim as BUILD | ||
WORKDIR /wheel | ||
COPY . . | ||
RUN pip3 wheel --wheel-dir=/wheel \ | ||
RUN apt update && apt install build-essential -y | ||
RUN pip3 wheel --wheel-dir=/wheel . \ | ||
errbot errbot[irc] errbot[slack] errbot[XMPP] errbot[telegram] | ||
|
||
FROM python:3.8-slim | ||
FROM python:3.9-slim | ||
COPY --from=BUILD /wheel /wheel | ||
RUN apt update && \ | ||
apt install -y git && \ | ||
cd /wheel && \ | ||
pip3 -vv install --no-cache-dir --no-index --find-links /wheel \ | ||
pip3 -vv install --no-cache-dir --no-index --find-links /wheel . \ | ||
errbot errbot[irc] errbot[slack] errbot[XMPP] errbot[telegram] && \ | ||
rm -rf /wheel /var/lib/apt/lists/* | ||
|
||
RUN useradd -m errbot | ||
WORKDIR /home/errbot | ||
USER errbot | ||
RUN errbot --init | ||
EXPOSE 3141 3142 | ||
VOLUME /home/errbot | ||
WORKDIR /home/errbot | ||
ENTRYPOINT [ "/usr/local/bin/errbot" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters