2024-02-25 00:18:08 +08:00
|
|
|
FROM nginx:alpine
|
|
|
|
|
USER root
|
2024-02-25 17:44:21 +08:00
|
|
|
RUN \
|
|
|
|
|
echo "" > /etc/apk/repositories && \
|
|
|
|
|
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
|
2024-02-25 00:18:08 +08:00
|
|
|
RUN apk add openjdk8
|
|
|
|
|
RUN rm -rf /etc/nginx/conf.d/*
|
|
|
|
|
WORKDIR /app
|
2024-02-27 18:22:18 +08:00
|
|
|
COPY ../../orion-ops-launch/target/orion-ops-launch.jar /app/app.jar
|
|
|
|
|
COPY ../../orion-ops-ui/dist /usr/share/nginx/html
|
|
|
|
|
COPY ../../docker/orion-ops-pro/entrypoint.sh /app/entrypoint.sh
|
|
|
|
|
COPY ../../docker/orion-ops-pro/nginx.conf /etc/nginx/conf.d
|
2024-02-25 00:18:08 +08:00
|
|
|
ENTRYPOINT [ "sh", "/app/entrypoint.sh" ]
|