mirror of
https://github.com/dataease/dataease.git
synced 2025-02-23 19:12:55 +08:00
refactor: 基于新基础镜像重构Dockerfile
This commit is contained in:
parent
f456f15d66
commit
8177049f5f
17
Dockerfile
17
Dockerfile
@ -1,26 +1,11 @@
|
||||
FROM registry.cn-qingdao.aliyuncs.com/dataease/fabric8-java-alpine-openjdk8-jre:edge-chromium
|
||||
|
||||
# RUN echo -e 'https://dl-cdn.alpinelinux.org/alpine/edge/main/\nhttps://dl-cdn.alpinelinux.org/alpine/edge/community/' > /etc/apk/repositories
|
||||
|
||||
# RUN apk add chromium chromium-chromedriver fontconfig --no-cache --allow-untrusted
|
||||
|
||||
# ADD simsun.ttc /usr/share/fonts/
|
||||
|
||||
# RUN cd /usr/share/fonts/ \
|
||||
# && mkfontscale \
|
||||
# && mkfontdir \
|
||||
# && fc-cache -fv
|
||||
|
||||
ARG IMAGE_TAG
|
||||
|
||||
RUN mkdir -p /opt/apps
|
||||
|
||||
RUN mkdir -p /opt/dataease/data/feature/full
|
||||
RUN mkdir -p /opt/apps /opt/dataease/data/feature/full /opt/dataease/drivers
|
||||
|
||||
ADD mapFiles/* /opt/dataease/data/feature/full/
|
||||
|
||||
RUN mkdir -p /opt/dataease/drivers
|
||||
|
||||
ADD drivers/* /opt/dataease/drivers/
|
||||
|
||||
ADD backend/target/backend-$IMAGE_TAG.jar /opt/apps
|
||||
|
BIN
simsun.ttc
BIN
simsun.ttc
Binary file not shown.
Loading…
Reference in New Issue
Block a user