update at 2021-01-21 11:27:13 by ehlxr

This commit is contained in:
2021-01-21 11:27:13 +08:00
parent e1235f4bb4
commit bb103f5cf5
10 changed files with 233 additions and 57 deletions

15
docker/Dockerfile Normal file
View File

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