Commit 774ccada by zhangxingmin

push

parent e763b6a2
......@@ -7,15 +7,19 @@ LABEL maintainer="zxm<2060197959@qq.com>"
# 创建目录
RUN mkdir -p /home/app
# 安装 LibreOffice
RUN apt-get update && \
apt-get install -y libreoffice && \
apt-get install -y libreoffice-writer && \
apt-get install -y fonts-liberation fonts-dejavu && \
# 使用阿里云镜像源并安装 LibreOffice
RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-recommends \
libreoffice \
libreoffice-writer \
fonts-liberation \
fonts-dejavu && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# 拷贝项目jar - 使用可执行的 fat JAR
# 拷贝项目jar
COPY target/yd-oss-api-1.0-SNAPSHOT-exec.jar /home/app/yd-oss-api.jar
# 执行命令启动jar
......
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