did/docker/Dockerfile
ehlxr 014249228b
All checks were successful
continuous-integration/drone/push Build is passing
update at 2021-01-21 12:30:38 by ehlxr
2021-01-21 12:30:38 +08:00

17 lines
273 B
Docker

FROM openjdk:8-jre-alpine
MAINTAINER ehlxr <ehlxr.me@gmail.com>
WORKDIR /opt
ARG SERVER_NAME
ENV SERVER_NAME=${SERVER_NAME}
ENV SDK_PORT=16831
ENV HTTP_PORT=16830
COPY ./docker/ /opt/
RUN chmod -R 755 /opt/
EXPOSE ${SDK_PORT} ${HTTP_PORT}
ENTRYPOINT ["/opt/start.sh"]