Divent/Dockerfile
Xéfir Destiny 0db6e9edff
All checks were successful
continuous-integration/drone/push Build is passing
Update bot with start works on front
2022-06-08 23:02:14 +02:00

13 lines
270 B
Docker

FROM python:3.10.5-slim as build
WORKDIR /app
COPY . .
RUN pip install poetry && poetry install --no-dev && 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"]