fixed tests working.

This commit is contained in:
2021-04-15 14:05:45 +01:00
parent 43fc877445
commit 64acde19db
4 changed files with 14 additions and 12 deletions

View File

@@ -21,15 +21,12 @@ RUN apk add --no-cache --virtual .build-deps mariadb-dev build-base \
&& apk add --virtual .runtime-deps mariadb-connector-c-dev mariadb-connector-c \
&& apk del .build-deps
RUN pip install "poetry==1.1.4"
COPY requirements.txt /src
RUN pip install -r requirements.txt
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh /src
COPY pyproject.toml /src
RUN poetry config virtualenvs.create false \
&& poetry install --no-interaction --no-ansi
COPY entrypoint.sh /src
COPY . /src/