From 862803e6d4e72612b05c5675ec886b47a722ce2c Mon Sep 17 00:00:00 2001 From: boke0 Date: Tue, 9 Mar 2021 01:03:54 +0900 Subject: [PATCH] [update] --- Dockerfile | 2 +- Dockerfile.mysql | 2 +- Dockerfile.postgresql | 2 +- docker/bin/entrypoint.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96fb0fc..7d6b1e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ADD ./pyproject.toml /code/pyproject.toml WORKDIR /code 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\ && pip3 install --upgrade pip \ - && pip3 install uwsgi poetry \ + && pip3 install uwsgi poetry poetry-dynamic-versioning \ && poetry config virtualenvs.create false \ && poetry install --no-dev \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev diff --git a/Dockerfile.mysql b/Dockerfile.mysql index cfdd239..82df032 100644 --- a/Dockerfile.mysql +++ b/Dockerfile.mysql @@ -5,7 +5,7 @@ ADD ./pyproject.toml /code/pyproject.toml WORKDIR /code 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\ && pip3 install --upgrade pip \ - && pip3 install uwsgi poetry mysqlclient \ + && pip3 install uwsgi poetry mysqlclient poetry-dynamic-versioning \ && poetry config virtualenvs.create false \ && poetry install --no-dev \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev mariadb-dev diff --git a/Dockerfile.postgresql b/Dockerfile.postgresql index 25c9fff..f979b50 100644 --- a/Dockerfile.postgresql +++ b/Dockerfile.postgresql @@ -5,7 +5,7 @@ ADD ./pyproject.toml /code/pyproject.toml WORKDIR /code 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 uwsgi poetry psycopg2 poetry-dynamic-versioning \ && poetry config virtualenvs.create false \ && poetry install --no-dev \ && apk del --purge zlib-dev gcc openssl-dev rust cargo python3-dev build-base libffi-dev postgresql-dev diff --git a/docker/bin/entrypoint.sh b/docker/bin/entrypoint.sh index cfebe26..8305ed0 100755 --- a/docker/bin/entrypoint.sh +++ b/docker/bin/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh -poetry install +poetry install --no-dev nginx postfix start uwsgi --ini /conf/uwsgi.ini