Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Commit

Permalink
Dockerfile.build added
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Apr 12, 2019
1 parent 9c4c14a commit 6e88fbc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -6,8 +6,8 @@ FROM microsoft/dotnet:2.2-sdk as builder
WORKDIR /src

COPY . .
# Test Backend

# Restore Dependencies
RUN dotnet restore

# Publish
Expand Down
14 changes: 14 additions & 0 deletions Dockerfile.build
@@ -0,0 +1,14 @@
#
# Stage 1, Prebuild
#
FROM microsoft/dotnet:2.2-sdk as builder

WORKDIR /src

COPY . .

# Restore Dependencies
RUN dotnet restore

# Publish
RUN dotnet publish Squidex.Identity/Squidex.Identity.csproj --output /out/ --configuration Release

0 comments on commit 6e88fbc

Please sign in to comment.