2018-08-15 04:36:17 +00:00
|
|
|
FROM openjdk:8-jre-alpine
|
2018-08-15 03:40:51 +00:00
|
|
|
MAINTAINER ehlxr <ehlxr.me@gmail.com>
|
|
|
|
|
|
|
|
WORKDIR /opt
|
|
|
|
|
|
|
|
ARG SERVER_NAME
|
2021-01-21 04:30:38 +00:00
|
|
|
|
2018-08-15 03:40:51 +00:00
|
|
|
ENV SERVER_NAME=${SERVER_NAME}
|
2021-01-21 04:30:38 +00:00
|
|
|
ENV SDK_PORT=16831
|
|
|
|
ENV HTTP_PORT=16830
|
2018-08-15 03:40:51 +00:00
|
|
|
|
2021-01-21 04:07:20 +00:00
|
|
|
COPY ./docker/ /opt/
|
2018-08-15 03:40:51 +00:00
|
|
|
|
|
|
|
RUN chmod -R 755 /opt/
|
|
|
|
|
2021-01-21 04:30:38 +00:00
|
|
|
EXPOSE ${SDK_PORT} ${HTTP_PORT}
|
2018-08-15 03:40:51 +00:00
|
|
|
ENTRYPOINT ["/opt/start.sh"]
|