mirror of https://github.com/Squidex/squidex.git
4 changed files with 24 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||
version: '2' |
|||
services: |
|||
tradapp-build: |
|||
image: microsoft/aspnetcore-build:1.1.0-projectjson |
|||
volumes: |
|||
- .:/sln |
|||
working_dir: /sln |
|||
entrypoint: ["sh", "./build.sh"] |
|||
@ -0,0 +1,9 @@ |
|||
#!bin/bash |
|||
set -e |
|||
dotnet restore |
|||
dotnet test tests/Squidex.Core.Tests/project.json |
|||
dotnet test tests/Squidex.Infrastructure.Tests/project.json |
|||
dotnet test tests/Squidex.Read.Tests/project.json |
|||
dotnet test tests/Squidex.Write.Tests/project.json |
|||
rm -rf $(pwd)/publish/web |
|||
dotnet publish src/Squidex/project.json -c release -o $(pwd)/publish/web |
|||
@ -0,0 +1,5 @@ |
|||
FROM microsoft/aspnetcore:1.1.0 |
|||
WORKDIR /app |
|||
COPY . . |
|||
EXPOSE 80 |
|||
ENTRYPOINT ["dotnet", "Squidex.dll"] |
|||
Loading…
Reference in new issue