did/did-server/Dockerfile

16 lines
265 B
Docker
Raw Normal View History

2018-08-15 03:09:15 +00:00
FROM anapsix/alpine-java:latest
MAINTAINER ehlxr <ehlxr.me@gmail.com>
2018-08-14 10:37:07 +00:00
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"]