diff --git a/Dockerfile b/Dockerfile index 34316ab..94c28f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ ARG PY_VERSION=3.9 FROM python:${PY_VERSION} as base FROM base as builder ARG PY_VERSION +COPY . . RUN mkdir /install /src WORKDIR /install @@ -23,6 +24,7 @@ RUN pip install --target="/install" /src # Copy minimal to main image (to keep as small as possible) FROM python:${PY_VERSION}-slim ARG PY_VERSION +COPY . . COPY --from=builder /install /usr/local/lib/python${PY_VERSION}/site-packages RUN mkdir -p /opt/gpt3discord/etc COPY gpt3discord.py /opt/gpt3discord/bin/ diff --git a/gpt3discord.py b/gpt3discord.py index e57b460..c94b173 100644 --- a/gpt3discord.py +++ b/gpt3discord.py @@ -30,7 +30,7 @@ from services.environment_service import EnvService from models.openai_model import Model -__version__ = "8.7.5" +__version__ = "8.7.6" PID_FILE = Path("bot.pid")