Files
orion-visor/docker/orion-visor-service/Dockerfile

16 lines
515 B
Docker
Raw Normal View History

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 && \
2024-05-23 13:56:03 +08:00
echo "http://mirrors.aliyun.com/alpine/v3.8/main" >> /etc/apk/repositories && \
2024-02-25 17:44:21 +08:00
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-05-16 00:03:30 +08:00
COPY ./orion-visor-launch.jar /app/app.jar
2024-02-27 18:49:55 +08:00
COPY ./dist /usr/share/nginx/html
COPY ./entrypoint.sh /app/entrypoint.sh
COPY ./nginx.conf /etc/nginx/conf.d
2024-02-25 00:18:08 +08:00
ENTRYPOINT [ "sh", "/app/entrypoint.sh" ]