修改了dockerfile文件并且增加了sh脚本

This commit is contained in:
bamanker
2023-05-15 12:32:47 +08:00
parent 2a2c27264a
commit ef76ad7bf8

View File

@@ -2,5 +2,6 @@ FROM openjdk:8
MAINTAINER bamanker
ADD target/dailyLove-0.1.6.jar /home/dailyLove/
ADD start.sh /home/dailyLove/
RUN chmod +x /home/dailyLove/start.sh
EXPOSE 13145
CMD ["sh","/home/dailyLove/start.sh"]