simplified dockerfile
This commit is contained in:
parent
aaf1438990
commit
ef8b051b33
3 changed files with 751 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
FROM python:3.11
|
||||
|
||||
RUN mkdir /app COPY /app /app
|
||||
RUN mkdir /app
|
||||
COPY /labeler /app
|
||||
|
||||
COPY pyproject.toml poetry.lock /app/
|
||||
|
||||
WORKDIR /app
|
||||
|
|
@ -9,5 +11,5 @@ ENV PYTHONPATH=${PYTHONPATH}:${PWD}
|
|||
RUN pip install poetry
|
||||
|
||||
RUN poetry config virtualenvs.create false
|
||||
RUN poetry install --no-dev
|
||||
RUN poetry install --only main
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue