diff --git a/Dockerfile b/Dockerfile index 9f70caa2..02d81179 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-alpine +FROM python:3.10.5-bullseye RUN mkdir /app WORKDIR /app @@ -9,27 +9,21 @@ ENV SHELL=/bin/sh \ KEGBOT_IN_DOCKER=True \ KEGBOT_ENV=debug -RUN apk update && \ - apk add --no-cache \ - bash \ - curl \ - libjpeg \ - libjpeg-turbo \ - openjpeg \ - mariadb-connector-c-dev \ - libpq && \ - apk add --no-cache --virtual _build-deps \ - build-base \ - mariadb-dev \ - postgresql-dev \ - libjpeg-turbo-dev \ - zlib-dev \ - py-gevent \ - libffi-dev \ - musl-dev \ - python3-dev \ - openssl-dev \ - cargo +RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ + curl \ + libffi-dev \ + libfreetype6-dev \ + libfribidi-dev \ + libharfbuzz-dev \ + libjpeg-turbo-progs \ + libjpeg62-turbo-dev \ + liblcms2-dev \ + libopenjp2-7-dev \ + libtiff5-dev \ + libwebp-dev \ + libssl-dev \ + zlib1g-dev \ + && rm -rf /var/lib/apt/lists/* RUN pip install poetry