simplified dockerfile

This commit is contained in:
Hubert Bryłkowski 2023-07-09 15:46:02 +02:00
parent c9ea8d64bd
commit c336f43559
No known key found for this signature in database
GPG key ID: 4DE061A3D610F379
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