FROM openjdk:17 RUN mkdir -m 777 /ai WORKDIR ai ADD VectorX-1.0-SNAPSHOT.jar /ai/VectorX-1.0-SNAPSHOT.jar EXPOSE 7860 COPY entrypoint.sh /entrypoint.sh # Make the script executable for app RUN chmod +x /entrypoint.sh # Set the entrypoint ENTRYPOINT ["/entrypoint.sh"]