File tree Expand file tree Collapse file tree 3 files changed +17
-27
lines changed Expand file tree Collapse file tree 3 files changed +17
-27
lines changed Original file line number Diff line number Diff line change
1
+ ** /.git
2
+ ** /.github
3
+ ** /.dockerignore
4
+ ** /.gitignore
5
+
6
+ ** /.idea
7
+ ** /.vscode
8
+
9
+ ** /__pycache__
10
+ ** /.pytest_cache
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -18,21 +18,24 @@ RUN apt-get update && \
18
18
19
19
RUN pip install poetry
20
20
21
+ COPY correction_step/poetry.lock correction_step/pyproject.toml /app/
22
+ COPY libs/apf /libs/apf
23
+
21
24
WORKDIR /app
22
- COPY ./correction_step/poetry.lock ./correction_step/pyproject.toml ./
23
- COPY ../libs/apf ../libs/apf
24
25
RUN poetry install --no-root --without=dev --without=test
25
26
26
27
27
28
FROM python:3.10-slim as production
28
29
RUN pip install poetry
29
30
30
31
COPY --from=builder /app/.venv /app/.venv
32
+ COPY --from=builder /app/poetry.lock /app/pyproject.toml /app/
31
33
COPY --from=builder /libs /libs
32
34
33
- WORKDIR /app
34
- COPY ./ correction_step ./
35
+ COPY correction_step/README.md /app
36
+ COPY correction_step/correction /app/correction
35
37
38
+ WORKDIR /app
36
39
RUN poetry install --only-root
37
40
38
41
CMD ["poetry" , "run" , "step" ]
You can’t perform that action at this time.
0 commit comments