Files
soul_diary/Dockerfile
2023-12-12 17:06:04 +03:00

15 lines
277 B
Docker

FROM python:3.11-slim
WORKDIR /app
RUN pip install poetry
COPY ./pyproject.toml /app/pyproject.toml
COPY ./poetry.lock /app/poetry.lock
RUN poetry install --only main
COPY ./soul_diary /app/soul_diary
ENTRYPOINT ["poetry", "run", "python", "-m", "soul_diary"]
CMD ["run"]