Fix Docker build

- Change `.dockerignore` to use a blacklist for `/build` instead of whitelist.
- Add missing `SrcCommon.props` to initial `COPY`s.
This commit is contained in:
Jordan Dominion
2023-07-04 01:20:52 -04:00
parent 904adbae9e
commit efadd9a726
2 changed files with 7 additions and 12 deletions
+6 -12
View File
@@ -12,18 +12,12 @@
appveyor.yml
omnisharp.json
README.md
build/**
!build/analyzers.ruleset
!build/tgs.docker.sh
!build/tgs.ico
!build/tgs.png
!build/stylecop.json
!build/Version.props
!build/ControlPanelVersion.props
!build/Common.props
!build/NugetCommon.props
!build/uac_elevation_manifest.xml
build/package/**
build/coverlet.runsettings
build/Dockerfile
build/GenerateMigrations.sh
build/OpenApiValidationSettings.json
build/tgstation-server.service
docs
src/DMAPI
src/Tgstation.Server.Host/ClientApp
+1
View File
@@ -29,6 +29,7 @@ COPY build/Common.props Common.props
COPY build/NugetCommon.props NugetCommon.props
COPY build/Version.props Version.props
COPY build/ControlPanelVersion.props ControlPanelVersion.props
COPY build/SrcCommon.props SrcCommon.props
WORKDIR /repo/src/Tgstation.Server.Host