simplified dockerfile

This commit is contained in:
Hubert Bryłkowski 2023-07-09 15:46:02 +02:00 committed by Piotr Gaczkowski
parent aaf1438990
commit ef8b051b33
3 changed files with 751 additions and 2 deletions

View file

@ -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