diff --git a/ladder_build.sh b/ladder_build.sh index f19f24c..094b406 100644 --- a/ladder_build.sh +++ b/ladder_build.sh @@ -1,5 +1,5 @@ docker build . -f ./ladder_build/Dockerfile -t maextbuild id=$(docker create maextbuild) -docker cp $id:./mapanalyzerext.so ./MapAnalyzer/cext/mapanalyzerext.so +docker cp $id:./mapanalyzerext.so ./map_analyzer/cext/mapanalyzerext.so docker rm -v $id diff --git a/ladder_build/Dockerfile b/ladder_build/Dockerfile index 24aec7b..6946597 100644 --- a/ladder_build/Dockerfile +++ b/ladder_build/Dockerfile @@ -1,8 +1,9 @@ -FROM python:3.9.5 +FROM python:3.11.5 COPY . . -RUN python3.9 setup.py build_ext --inplace -RUN mv mapanalyzerext.*.so mapanalyzerext.so +RUN pip install poetry==1.6.1 +RUN poetry install +RUN mv build/lib.linux*/mapanalyzerext.*.so mapanalyzerext.so CMD ["/bin/bash"]