Divent/Dockerfile
Michel Roux 14131d73ac
All checks were successful
divent / lint (push) Successful in 2m1s
divent / docker (push) Successful in 1m54s
divent / pypi (push) Has been skipped
Update python version and fix aiohttp
2023-11-06 22:06:01 +01:00

13 lines
217 B
Docker

FROM python:3.11.6 as build
WORKDIR /app
COPY . .
RUN pip install poetry && poetry build
FROM python:3.11.5
COPY --from=build /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist
CMD ["divent"]