Do not use slim image anymore
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
459dbd5243
commit
8fd4e8f243
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user