diff --git a/Dockerfile b/Dockerfile index 44a7d6d..3388bc3 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 --no-index --find-links=/pkg mitama \ + && pip3 install /pkg/mitama-*.whl \ && 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 6930471..863bff9 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 --no-index --find-links=/pkg mitama \ + && pip3 install /pkg/mitama-*.whl \ && 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 edb3e7c..dded596 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 --no-index --find-links=/pkg mitama \ + && pip3 install /pkg/mitama-*.whl \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev postgresql-dev RUN mkdir /conf RUN mkdir /log