File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,19 @@ COPY --from=build --chown=1001 /app/target_packages /app/target_packages
4141
4242ENV SHARED_PACKAGE_PATH="/shared_packages/app/"
4343
44+ COPY scripts/copy_script.sh /app/
45+
46+ RUN chmod 755 /app/copy_script.sh
47+
4448# The entrypoint for this image is designed to follow its usage, i.e
4549# to be used along with vllm image. Therefore, in this image, we
4650# only copy the package(s) to a shared package path
4751# NOTE: Along with this, one may need to adjust PYTHONPATH to call
4852# this package, depending on setup.
4953# Example: PYTHONPATH='${SHARED_PACKAGE_PATH}:${PYTHONPATH}'
50- ENTRYPOINT ["/bin/bash" , "-c" , "cp -r /app/target_packages/* ${SHARED_PACKAGE_PATH}" ]
54+ ENTRYPOINT ["./copy_script.sh" ]
55+
56+ CMD ["/bin/bash" ]
5157
5258# ## Release Layer (with vllm-tgis-adapter)
5359FROM release as release_tgis_adapter
Original file line number Diff line number Diff line change 33# Copy files from a specific location to the desired destination
44cp -r /app/target_packages/* ${SHARED_PACKAGE_PATH}
55
6+ touch finished_installation
67# # Run the main command
78# exec "$@"
You can’t perform that action at this time.
0 commit comments