diff --git a/.drone.yml b/.drone.yml index 7ef5212..1dce370 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 4ee34e4..f013cc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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