Commit 1aee3557 authored by 智勇's avatar 智勇
parents 83ab503c 6ebd2925
...@@ -13,15 +13,18 @@ ARG BUILD_SCHEMA ...@@ -13,15 +13,18 @@ ARG BUILD_SCHEMA
ENV SYSTEM_NAME=$SYSTEM_NAME \ ENV SYSTEM_NAME=$SYSTEM_NAME \
BUILD_SCHEMA=$BUILD_SCHEMA BUILD_SCHEMA=$BUILD_SCHEMA
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info && \
# vi to vim
apk add --no-cache vim && \
rm -rf /usr/bin/vi && \
ln -s /usr/bin/vim /usr/bin/vi
COPY docker-entrypoint.sh . COPY docker-entrypoint.sh .
COPY readyCheck.sh .
# COPY --from=BUILD /code/* ./project/ # COPY --from=BUILD /code/* ./project/
COPY ./*.jar ./project/
COPY ./lib/* ./project/ COPY ./lib/* ./project/
COPY ./config/* ./project/ COPY ./config/* ./project/
COPY ./application.properties ./project/ COPY ./application.properties ./project/
COPY ./*.jar ./project/
COPY readyCheck.sh .
CMD ["sh", "docker-entrypoint.sh"] CMD ["sh", "docker-entrypoint.sh"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment