This commit is contained in:
Jane
2023-12-22 10:59:10 +08:00
parent 751c43e199
commit d1ede2d4aa
2774 changed files with 291509 additions and 0 deletions

12
studio/config/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM openjdk:8u212-jre-alpine
ENV SPRING_PROFILES_ACTIVE=dev
ENV TIME_ZONE=Asia/Shanghai
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/' /etc/apk/repositories
RUN apk add --update font-adobe-100dpi ttf-dejavu fontconfig
RUN apk update && apk add --no-cache tzdata curl\
&& echo "${TIME_ZONE}" > /etc/timezone \
&& ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime
COPY ./target/config.jar /
WORKDIR /
EXPOSE 8611
CMD ["java","-jar","config.jar"]