Skip to content

Commit e7e7abe

Browse files
committed
EX-319: docker build fix v4
1 parent 7b32a46 commit e7e7abe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# Dockerfile
22

3+
34
FROM python:3.11-slim as builder
45

56
RUN pip install poetry
6-
77
WORKDIR /app
8-
98
COPY pyproject.toml poetry.lock ./
109

11-
RUN poetry install --no-dev --no-interaction --no-ansi
10+
RUN poetry install --without dev --no-interaction --no-ansi
1211

1312
FROM python:3.11-slim
1413

@@ -23,6 +22,5 @@ COPY src/ /app/src/
2322
RUN poetry config virtualenvs.in-project false --local \
2423
&& poetry config virtualenvs.path /root/.cache/pypoetry/virtualenvs
2524

26-
2725
ENTRYPOINT ["poetry", "run", "code-review-agent"]
2826
CMD ["--help"]

0 commit comments

Comments
 (0)