mirror of https://github.com/Squidex/squidex.git
2 changed files with 1 additions and 18 deletions
@ -1,15 +0,0 @@ |
|||||
FROM microsoft/aspnetcore-build:1.1.2 |
|
||||
|
|
||||
COPY . . |
|
||||
|
|
||||
WORKDIR / |
|
||||
|
|
||||
# Test Backend |
|
||||
RUN dotnet restore \ |
|
||||
&& dotnet test 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.Read.Tests/Squidex.Domain.Apps.Read.Tests.csproj \ |
|
||||
&& dotnet test tests/Squidex.Domain.Apps.Write.Tests/Squidex.Domain.Apps.Write.Tests.csproj \ |
|
||||
&& dotnet test tests/Squidex.Domain.Users.Tests/Squidex.Domain.Users.Tests.csproj |
|
||||
|
|
||||
RUN ls /media/ |
|
||||
@ -1,9 +1,7 @@ |
|||||
FROM microsoft/aspnetcore:1.1.2 |
FROM microsoft/aspnetcore:1.1.2 |
||||
|
|
||||
# Default AspNet Core Workdir |
|
||||
WORKDIR /app |
WORKDIR /app |
||||
|
|
||||
# Copy from Build Stage |
COPY . . |
||||
COPY --from=builder /out/ . |
|
||||
|
|
||||
ENTRYPOINT ["dotnet", "Squidex.dll"] |
ENTRYPOINT ["dotnet", "Squidex.dll"] |
||||
Loading…
Reference in new issue