Fix config path - files go to root, not publish/
Some checks failed
Build and publish wylab SS14 server / build-amd64 (push) Successful in 1m12s
Build and publish wylab SS14 server / build-arm64 (push) Has been cancelled

The SS14.Server zip extracts files to root, not a publish/ subdirectory.
Config files were being placed in non-existent /ss14-default/publish/.
This commit is contained in:
2025-12-16 07:10:13 +01:00
parent d91dfefec1
commit e149fceec2

View File

@@ -65,12 +65,12 @@ EXPOSE 8080/tcp
# Set volume
VOLUME [ "/ss14" ]
# Add configurations
ADD appsettings.yml /ss14-default/publish/appsettings.yml
ADD server_config.toml /ss14-default/publish/server_config.toml
# Add configurations (files go to root, not publish/)
ADD appsettings.yml /ss14-default/appsettings.yml
ADD server_config.toml /ss14-default/server_config.toml
COPY start.sh /start.sh
RUN python3 /update_build_metadata.py /ss14-default/publish/server_config.toml || true && \
RUN python3 /update_build_metadata.py /ss14-default/server_config.toml || true && \
chmod +x /start.sh
# Set the entry point for the container