diff --git a/build/Dockerfile b/build/Dockerfile index 222bb09da5..108f7ddfbf 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -33,7 +33,6 @@ WORKDIR /app COPY --from=build /app . COPY --from=build /src/build/tgs.docker.sh tgs.sh -RUN mkdir /config_data && touch /config_data/appsettings.Production.json VOLUME ["/config_data", "/tgs_logs", "/app/lib"] ENTRYPOINT ["./tgs.sh"] diff --git a/build/tgs.docker.sh b/build/tgs.docker.sh index 690f9e1c03..cc4cf6fd4e 100755 --- a/build/tgs.docker.sh +++ b/build/tgs.docker.sh @@ -1,5 +1,6 @@ #!/bin/sh +touch /config_data/appsettings.Production.json ln -s /config_data/appsettings.Production.json /app/appsettings.Production.json exec dotnet Tgstation.Server.Host.Console.dll "$@"