File tree 4 files changed +11
-6
lines changed
4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
- # *
2
- ! utils /
3
- ! build /
1
+ .dotnet /
2
+ .store /
3
+ tools /
4
+ build /
5
+ src /** /obj /
6
+ src /** /node_modules /
7
+ tests /** /obj /
Original file line number Diff line number Diff line change 1
1
* .sh text eol =lf
2
+ .dockerignore text eol =lf
2
3
Dockerfile text eol =lf
3
4
build.cake text eol =lf
4
5
distscripts /* eol =lf
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ RUN yarn --cwd src/PokerTime.Web/
47
47
48
48
# ... run publish
49
49
COPY . .
50
- RUN ./build.sh --target=Publish-Ubuntu-18.04-x64 --verbosity=verbose --skip-compression=true
50
+ RUN ./build.sh --target=Publish-Ubuntu-18.04-x64 --publish-dir=publish -- verbosity=verbose --skip-compression=true
51
51
52
52
# ## RUNTIME IMAGE
53
53
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1
@@ -58,7 +58,7 @@ COPY utils/install-app-prereqs.sh utils/
58
58
RUN bash utils/install-app-prereqs.sh
59
59
60
60
# ... Copy published app
61
- COPY --from=build /source/build/ publish/ubuntu.18.04-x64/ .
61
+ COPY --from=build /source/publish/ubuntu.18.04-x64/ .
62
62
63
63
ENV ASPNETCORE_ENVIRONMENT Production
64
64
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var baseName = "PokerTime";
24
24
var buildDir = Directory ( ". / build") ;
25
25
var testResultsDir = buildDir + Directory( "./testresults" ) ;
26
26
var testArtifactsDir = buildDir + Directory ( "./testresults/artifacts" ) ;
27
- var publishDir = Directory( " ./build/publish") ;
27
+ var publishDir = Directory( Argument ( "publish-dir" , " ./build/publish") ) ;
28
28
var assemblyInfoFile = Directory( $"./src/{baseName}/Properties" ) + File ( "AssemblyInfo.cs" ) ;
29
29
var nodeEnv = configuration == "Release" ? "production" : "development" ;
30
30
var persistenceProjectPath = Directory( $"./src/{baseName}.Persistence" ) ;
You can’t perform that action at this time.
0 commit comments