1234567891011121314151617181920212223 |
- # Dockerfile for apollo-portal-server
- # Build with:
- # docker build -t apollo-portal-server:v1.0.0 .
- FROM openjdk:8-jre-alpine3.8
- RUN \
- echo "http://mirrors.aliyun.com/alpine/v3.8/main" > /etc/apk/repositories && \
- echo "http://mirrors.aliyun.com/alpine/v3.8/community" >> /etc/apk/repositories && \
- apk update upgrade && \
- apk add --no-cache procps curl bash tzdata && \
- ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
- echo "Asia/Shanghai" > /etc/timezone && \
- mkdir -p /apollo-portal-server
- ADD . /apollo-portal-server/
- ENV APOLLO_PORTAL_SERVICE_NAME="service-apollo-portal-server.sre"
- EXPOSE 8070
- CMD ["/apollo-portal-server/scripts/startup-kubernetes.sh"]
|