123456 |
- FROM openjdk:alpine
- RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/main/" > /etc/apk/repositories
- EXPOSE 8081
- ADD target/mooctest-user-server.jar /root
- WORKDIR /root
- ENTRYPOINT ["java", "-jar", "-Djava.security.egd=file:/dev/./urandom", "mooctest-user-server.jar"]
|