Updated docker file
This commit is contained in:
parent
1f2d4c67d4
commit
25b79a81ae
1 changed files with 3 additions and 3 deletions
|
@ -4,10 +4,10 @@ ARG BUILDCONFIG=RELEASE
|
|||
|
||||
# Copy project files to avoid restoring packages if they haven't changed
|
||||
COPY *.csproj ./build/
|
||||
RUN dotnet restore ./build/
|
||||
|
||||
COPY . ./build/
|
||||
WORKDIR /build/
|
||||
RUN dotnet restore
|
||||
|
||||
COPY . .
|
||||
RUN dotnet publish -c $BUILDCONFIG -o out
|
||||
|
||||
# build runtime image
|
||||
|
|
Loading…
Reference in a new issue