Divent/Dockerfile
Xéfir Destiny d7d3d773fb
Some checks failed
continuous-integration/drone/push Build is failing
Use frontman
2022-06-16 23:29:19 +02:00

16 lines
305 B
Docker

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