-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9089db
commit 8a1e94d
Showing
13 changed files
with
68 additions
and
567 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
FROM python:3-alpine | ||
FROM python:3.11.4-alpine | ||
|
||
COPY requirements.txt /bot/ | ||
WORKDIR /bot | ||
|
||
RUN apk add --no-cache --virtual deps gcc musl-dev libffi-dev g++ git && \ | ||
pip3 install pip --no-cache-dir --upgrade && pip3 install setuptools wheel --no-cache-dir --upgrade && \ | ||
pip3 install -r requirements.txt --upgrade | ||
pip install pip --no-cache-dir --upgrade && \ | ||
pip install setuptools wheel --no-cache-dir --upgrade && \ | ||
MAKEFLAGS="-j $(nproc)" pip install -r requirements.txt --upgrade | ||
|
||
COPY *.py /bot/ | ||
COPY *.env /bot/ | ||
|
||
ADD data /bot/data | ||
ADD cogs /bot/cogs | ||
|
||
ENTRYPOINT ["/usr/local/bin/python3", "bot.py"] | ||
ENTRYPOINT ["python", "bot.py"] |
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
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
Oops, something went wrong.