Merge pull request #1356 from madsboddum/docker-timezone

Docker image timezone
This commit is contained in:
Josh
2023-08-18 11:23:01 -05:00
committed by GitHub
+4
View File
@@ -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"]