From b0cc7af17d771ae819064d9965594f01943c049a Mon Sep 17 00:00:00 2001 From: EspiDev Date: Sun, 28 Oct 2018 12:13:12 -0400 Subject: [PATCH] Fix --- .gitlab-ci.yml | 4 ++-- Dockerfile | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5935023..fda301d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,5 +4,5 @@ before_script: build_image: script: - docker build -t hub . - - docker tag hub:latest dolphinbox.net:8084/hub - - docker push dolphinbox.net:8084/hub + - docker tag hub:latest registry.estinet.net/estinet/hub + - docker push registry.estinet.net/estinet/hub diff --git a/Dockerfile b/Dockerfile index 43fdde8..e76b855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,16 +2,11 @@ FROM frolvlad/alpine-oraclejdk8 MAINTAINER EstiNet -ARG PORT_NUM -ENV PORT_NUM ${PORT_NUM:-25400} - -EXPOSE 19005 $PORT_NUM +EXPOSE 19005 25565 COPY . /usr/src/server WORKDIR /usr/src/server -RUN echo server-port=$PORT_NUM >> server.properties - RUN mkdir /data CMD exec ./esticonsole