Init project
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user