diff --git a/Dockerfile b/Dockerfile index d6d0611..b878f9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix git \ && pip3 install --upgrade pip \ && pip3 install uwsgi poetry \ - && pip3 install /pkg/* \ + && pip3 install --no-index --find-links=/pkg mitama \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev RUN mkdir /conf RUN mkdir /log diff --git a/Dockerfile.mysql b/Dockerfile.mysql index e10adf8..9596680 100644 --- a/Dockerfile.mysql +++ b/Dockerfile.mysql @@ -5,7 +5,7 @@ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix mariadb-dev mariadb-connector-c-dev git \ && pip3 install --upgrade pip \ && pip3 install uwsgi poetry mysqlclient \ - && pip3 install /pkg/* \ + && pip3 install --no-index --find-links=/pkg mitama \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev mariadb-dev RUN mkdir /conf RUN mkdir /log diff --git a/Dockerfile.postgresql b/Dockerfile.postgresql index 5d00e5b..6dfde11 100644 --- a/Dockerfile.postgresql +++ b/Dockerfile.postgresql @@ -5,7 +5,7 @@ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix postgresql-dev postgresql-libs \ && pip3 install --upgrade pip \ && pip3 install uwsgi poetry psycopg2 \ - && pip3 install /pkg/* \ + && pip3 install --no-index --find-links=/pkg mitama \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev postgresql-dev RUN mkdir /conf RUN mkdir /log