diff --git a/Dockerfile b/Dockerfile index f825f6965..5624a44a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ ADD serverdata/ /holocore/serverdata # Sets up networking EXPOSE 44463/tcp +# Sets up timezone - default timezone can be overridden by setting TZ environment variable. +RUN apt-get install -y tzdata +ENV TZ=UTC + # Sets up execution WORKDIR /holocore ENTRYPOINT ["/holocore/bin/java", "-m", "holocore/com.projectswg.holocore.ProjectSWG", "--database", "mongodb://pswg_game_database", "--dbName", "cu"]