9 lines
357 B
Docker
9 lines
357 B
Docker
FROM openjdk:8u212-jre-alpine
|
|
ENV SPRING_PROFILES_ACTIVE=test
|
|
ENV TZ "Asia/Shanghai"
|
|
RUN mkdir -p /tool-tech-file-view
|
|
RUN apk add --update font-adobe-100dpi ttf-dejavu fontconfig
|
|
COPY ./tool-tech-file-view/target/tool-tech-file-view-4.4.0.jar /tool-tech-file-view
|
|
WORKDIR /tool-tech-file-view
|
|
EXPOSE 8012
|
|
CMD ["java","-jar","tool-tech-file-view-4.4.0.jar"] |