|
|
@ -19,12 +19,7 @@ RUN cp -a /tmp/node_modules src/Squidex/ \ |
|
|
&& npm run build |
|
|
&& npm run build |
|
|
|
|
|
|
|
|
# Test Backend |
|
|
# Test Backend |
|
|
RUN dotnet restore \ |
|
|
RUN dotnet restore && dotnet test -s ../../.testrunsettings --filter Category!=Dependencies |
|
|
&& dotnet test --filter Category!=Dependencies tests/Squidex.Infrastructure.Tests/Squidex.Infrastructure.Tests.csproj \ |
|
|
|
|
|
&& dotnet test tests/Squidex.Domain.Apps.Core.Tests/Squidex.Domain.Apps.Core.Tests.csproj \ |
|
|
|
|
|
&& dotnet test tests/Squidex.Domain.Apps.Entities.Tests/Squidex.Domain.Apps.Entities.Tests.csproj \ |
|
|
|
|
|
&& dotnet test tests/Squidex.Domain.Users.Tests/Squidex.Domain.Users.Tests.csproj \ |
|
|
|
|
|
&& dotnet test tests/Squidex.Web.Tests/Squidex.Web.Tests.csproj |
|
|
|
|
|
|
|
|
|
|
|
# Publish |
|
|
# Publish |
|
|
RUN dotnet publish src/Squidex/Squidex.csproj --output /out/alpine --configuration Release -r alpine.3.7-x64 |
|
|
RUN dotnet publish src/Squidex/Squidex.csproj --output /out/alpine --configuration Release -r alpine.3.7-x64 |
|
|
|