diff --git a/Dockerfile b/Dockerfile index 80891d3..ce814a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,12 @@ FROM python:3.8-alpine +RUN apk add --no-cache sqlite sqlite-dev + WORKDIR /code COPY requirements.txt . RUN pip install -r requirements.txt COPY ./ . +RUN sqlite3 /code/sessions.db "VACUUM;" + ENTRYPOINT [ "python", "/code/bot.py" ]