Remove potential useless package
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Dryusdan 2023-02-02 17:40:21 +01:00
parent c6798d370d
commit d9342513dd
3 changed files with 4 additions and 5 deletions

View File

@ -4,9 +4,7 @@ COPY ./ /app
WORKDIR /app
RUN apk add -U --no-cache --virtual builds gcc musl-dev libffi-dev \
&& pip3 install poetry \
&& poetry install --only main \
&& apk del builds
RUN pip3 install poetry \
&& poetry install --only main
CMD poetry run python3 app/main.py

2
poetry.toml Normal file
View File

@ -0,0 +1,2 @@
[virtualenvs]
create = false

View File

@ -4,7 +4,6 @@ version = "0.1.0"
description = ""
authors = ["An exporter for Paris Brest Paris cycling challenge"]
readme = "README.md"
packages = [{include = "paris_brest_paris_prometheus_exporter"}]
[tool.poetry.dependencies]
python = "^3.9"