보험
This commit is contained in:
parent
cd79087626
commit
657bd5f563
@ -15,8 +15,4 @@ class Christmas(AutoShardedBot):
|
||||
kwargs.update({"token": self.ctx.config.TOKEN})
|
||||
super().run(*args, **kwargs)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@ -0,0 +1,24 @@
|
||||
FROM python:3.12-alpine AS Prepare
|
||||
|
||||
RUN apk add --no-cache \
|
||||
build-base \
|
||||
libffi-dev \
|
||||
openssl-dev \
|
||||
python3-dev \
|
||||
rust \
|
||||
cargo
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
FROM python:3.12-alpine AS Main
|
||||
|
||||
COPY --from=Prepare /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
|
||||
COPY --from=Prepare /usr/local/bin /usr/local/bin
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["python", "-m", "Christmas"]
|
||||
|
||||
|
7
requirement.txt
Normal file
7
requirement.txt
Normal file
@ -0,0 +1,7 @@
|
||||
py-cord
|
||||
motor
|
||||
uvloop
|
||||
korcen
|
||||
nanoid
|
||||
pendulum
|
||||
Wavelink
|
Loading…
Reference in New Issue
Block a user