1 Star 0 Fork 4

iFlyS/weekReport

forked from 陈钇蒙/weekReport 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 669 Bytes
一键复制 编辑 原始数据 按行查看 历史
陈钇蒙 提交于 2022-10-10 14:54 . 1
FROM alpine:3.16
ENV LANG=zh_CN.UTF-8 \
TZ=Asia/Shanghai \
PS1="\u@\h:\w \$ "
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk add --update --no-cache \
openjdk8-jre \
ttf-dejavu \
fontconfig \
tzdata \
tini \
&& fc-cache -f -v \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo "${TZ}" > /etc/timezone \
&& rm -rf /var/cache/apk/* /tmp/*
COPY target/weekReport-*.jar /home/weekReport.jar
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN ["chmod", "+x", "/usr/local/bin/entrypoint.sh"]
VOLUME ["/home/weekReport"]
ENTRYPOINT ["tini", "entrypoint.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fly_off/weekReport.git
git@gitee.com:fly_off/weekReport.git
fly_off
weekReport
weekReport
master

搜索帮助