File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,14 @@ WORKDIR /opt
99RUN yum install gcc -y
1010COPY ecs_files_composer /opt/ecs_files_composer
1111COPY poetry.lock pyproject.toml MANIFEST.in README.rst LICENSE /opt/
12- RUN python -m pip install pip -U; python -m pip install poetry; poetry build; poetry export -o /opt/requirements.txt
12+ RUN python -m pip install pip -U
13+ RUN python -m pip install poetry
14+ RUN poetry build
1315
1416
1517FROM $BASE_IMAGE
1618COPY --from=builder /opt/dist/*.whl ${LAMBDA_TASK_ROOT:-/app/}/dist/
17- COPY --from=builder /opt/requirements.txt ${LAMBDA_TASK_ROOT:-/app/}/requirements.txt
18- RUN python -m pip install pip -U --no-cache-dir; pip install --no-cache-dir -r /app/requirements.txt
19+ RUN python -m pip install pip -U --no-cache-dir
1920RUN python -m pip install --no-cache-dir /app/dist/*.whl
2021WORKDIR /
2122ENTRYPOINT ["python" , "-m" , "ecs_files_composer.cli" ]
You can’t perform that action at this time.
0 commit comments