master
EspiDev 6 years ago
parent ebe0d482ab
commit b0cc7af17d

@ -4,5 +4,5 @@ before_script:
build_image: build_image:
script: script:
- docker build -t hub . - docker build -t hub .
- docker tag hub:latest dolphinbox.net:8084/hub - docker tag hub:latest registry.estinet.net/estinet/hub
- docker push dolphinbox.net:8084/hub - docker push registry.estinet.net/estinet/hub

@ -2,16 +2,11 @@ FROM frolvlad/alpine-oraclejdk8
MAINTAINER EstiNet MAINTAINER EstiNet
ARG PORT_NUM EXPOSE 19005 25565
ENV PORT_NUM ${PORT_NUM:-25400}
EXPOSE 19005 $PORT_NUM
COPY . /usr/src/server COPY . /usr/src/server
WORKDIR /usr/src/server WORKDIR /usr/src/server
RUN echo server-port=$PORT_NUM >> server.properties
RUN mkdir /data RUN mkdir /data
CMD exec ./esticonsole CMD exec ./esticonsole

Loading…
Cancel
Save