diff --git a/Christmas/discord.py b/Christmas/discord.py index 15523b5..a26e932 100644 --- a/Christmas/discord.py +++ b/Christmas/discord.py @@ -15,8 +15,4 @@ class Christmas(AutoShardedBot): kwargs.update({"token": self.ctx.config.TOKEN}) super().run(*args, **kwargs) - - - - - + \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c9e5907 --- /dev/null +++ b/Dockerfile @@ -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"] + + diff --git a/requirement.txt b/requirement.txt new file mode 100644 index 0000000..8b0ea62 --- /dev/null +++ b/requirement.txt @@ -0,0 +1,7 @@ +py-cord +motor +uvloop +korcen +nanoid +pendulum +Wavelink \ No newline at end of file