You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
407 B
19 lines
407 B
# FROM openjdk:8u272-jdk
|
|
FROM arm64v8/openjdk:11
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y redis-server && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/list/*
|
|
|
|
ENV REDIS_HOST localhost
|
|
ENV REDIS_PORT 6379
|
|
|
|
WORKDIR /application
|
|
|
|
COPY ./entrypoint.sh entrypoint.sh
|
|
|
|
ARG JAR_FILE=./eladmin-system/target/eladmin-system-2.7.jar
|
|
COPY ${JAR_FILE} application.jar
|
|
|
|
ENTRYPOINT ["bash","entrypoint.sh"] |