Divent/Dockerfile
Michel Roux 5b0255276b
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Update python Docker tag to v3.10.8
2022-10-14 00:14:49 +00:00

13 lines
227 B
Docker

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