Skip to content

Commit 85c3465

Browse files
committed
Fix common.props path
1 parent b481dd0 commit 85c3465

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ARG VERSION_SUFFIX=0-dev
66
ENV VERSION_SUFFIX=$VERSION_SUFFIX
77

88
COPY ./*.sln ./
9-
COPY ./*/*.props ./
9+
COPY ./build/*.props ./build/
1010
COPY ./LICENSE.txt ./LICENSE.txt
1111

1212
# Copy the main source project files
@@ -17,11 +17,11 @@ RUN for file in $(ls *.csproj); do mkdir -p src/${file%.*}/ && mv $file src/${fi
1717
COPY tests/*/*.csproj ./
1818
RUN for file in $(ls *.csproj); do mkdir -p tests/${file%.*}/ && mv $file tests/${file%.*}/; done
1919

20-
#RUN dotnet restore
20+
RUN dotnet restore
2121

2222
# Copy everything else and build
23-
#COPY . .
24-
#RUN dotnet build --version-suffix $VERSION_SUFFIX -c Release
23+
COPY . .
24+
RUN dotnet build --version-suffix $VERSION_SUFFIX -c Release
2525

2626
# testrunner
2727

@@ -48,6 +48,7 @@ ENTRYPOINT [ "dotnet", "nuget", "push", "/app/artifacts/*.nupkg" ]
4848

4949
# docker build --target testrunner -t exceptionless:testrunner --build-arg VERSION_SUFFIX=123-dev .
5050
# docker run -it -v $(pwd)/artifacts:/app/artifacts exceptionless:testrunner
51+
# docker build --target build -t exceptionless:build && docker run -it exceptionless:build
5152
# docker run -it -v $(pwd):/app mcr.microsoft.com/dotnet/core/sdk:2.2
5253

5354
# docker build --target publish -t exceptionless:publish --build-arg VERSION_SUFFIX=123-dev .

0 commit comments

Comments
 (0)