Divent/Dockerfile
Xéfir Destiny 6458b234da
Some checks failed
continuous-integration/drone/push Build is failing
init project
2022-09-08 14:21:01 +00:00

13 lines
227 B
Docker

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