RUN apt-get update && \
RUN pip install dataclasses 然后尝试用docker-compose up--build构建它 但它总是失败,错误是 ModuleNotFoundError: No module named 'dataclasses' 没有Dockerfile也能正常工作,有没有人能帮我解决这个问题Docker-compose.yml文件 version: '
我有postgres image:https://hub.docker.com/_/postgres我正在尝试使用以下命令创建python扩展: create extension plpythonu但它失败了,并显示以下错误: psql:/docker-entrypoint-initdb.d/init.sql:1: ERROR: could not open extension controlfile "/usr/share/postgre