Closed p0lygun closed 1 year ago
a docker file for installing poetry https://github.com/FrederikP/python-poetry-alpine/blob/master/Dockerfile
pg_config needs to be installed in alpine linux
possible fix via using
RUN apk update \
&& apk add libpq postgresql-dev \
&& apk add build-base
closing as alpine is too unstable in production and the gain is not that great
The current image size is 653MB using alpine we can make it smaller,
Resources
https://medium.com/c0d1um/building-django-docker-image-with-alpine-32de65d2706