Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 8, 2021
1 parent 30515cf commit 862803e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.postgresql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/bin/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

poetry install
poetry install --no-dev
nginx
postfix start
uwsgi --ini /conf/uwsgi.ini

0 comments on commit 862803e

Please sign in to comment.