Commit 238654b2 authored by Kunkka王辉's avatar Kunkka王辉 😲

脚本优化

parent 20942a37
...@@ -4,7 +4,7 @@ WORKDIR /app ...@@ -4,7 +4,7 @@ WORKDIR /app
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY settings.xml /usr/share/maven/conf/settings.xml COPY settings.xml /usr/share/maven/conf/settings.xml
COPY <<EOF /app/java-start.sh COPY <<EOF /app/java-start.sh
#/bin/bash #!/bin/bash
#进入项目 #进入项目
# 接收参数 # 接收参数
if [ -n "\$1" ]; then if [ -n "\$1" ]; then
......
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