Do not use slim image anymore
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-10-26 14:02:48 +00:00
parent 459dbd5243
commit 8fd4e8f243
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ type: docker
steps:
- name: lint
image: python:3.8-slim
image: python:3.8
commands:
- pip install poetry
- poetry install
@ -23,7 +23,7 @@ steps:
from_secret: docker_password
- name: publish
image: python:3.8-slim
image: python:3.8
commands:
- pip install poetry
- poetry publish --build

View File

@ -1,10 +1,10 @@
FROM python:3.11.0-slim as build
FROM python:3.11.0 as build
WORKDIR /app
COPY . .
RUN pip install poetry && poetry build
FROM python:3.11.0-slim
FROM python:3.11.0
COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist