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 862803e commit eca1a12
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FROM alpine:3.13
RUN mkdir /code
ADD ./mitama /code/mitama
ADD ./pyproject.toml /code/pyproject.toml
ADD ./.git /code/.git
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\
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 poetry-dynamic-versioning \
&& pip3 install uwsgi poetry wheel 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
3 changes: 2 additions & 1 deletion Dockerfile.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FROM alpine:3.13
RUN mkdir /code
ADD ./mitama /code/mitama
ADD ./pyproject.toml /code/pyproject.toml
ADD ./.git /code/.git
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 poetry-dynamic-versioning \
&& pip3 install uwsgi poetry mysqlclient wheel poetry-dynamic-versioning git \
&& 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
5 changes: 3 additions & 2 deletions Dockerfile.postgresql
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ FROM alpine:3.13
RUN mkdir /code
ADD ./mitama /code/mitama
ADD ./pyproject.toml /code/pyproject.toml
ADD ./.git /code/.git
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 \
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 git \
&& pip3 install --upgrade pip \
&& pip3 install uwsgi poetry psycopg2 poetry-dynamic-versioning \
&& pip3 install uwsgi poetry psycopg2 wheel 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

0 comments on commit eca1a12

Please sign in to comment.