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

Commit 6e88fbc

Browse files
Dockerfile.build added
1 parent 9c4c14a commit 6e88fbc

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ FROM microsoft/dotnet:2.2-sdk as builder
66
WORKDIR /src
77

88
COPY . .
9-
10-
# Test Backend
9+
10+
# Restore Dependencies
1111
RUN dotnet restore
1212

1313
# Publish

Dockerfile.build

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#
2+
# Stage 1, Prebuild
3+
#
4+
FROM microsoft/dotnet:2.2-sdk as builder
5+
6+
WORKDIR /src
7+
8+
COPY . .
9+
10+
# Restore Dependencies
11+
RUN dotnet restore
12+
13+
# Publish
14+
RUN dotnet publish Squidex.Identity/Squidex.Identity.csproj --output /out/ --configuration Release

0 commit comments

Comments
 (0)