Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ZKEASOFT committed Dec 16, 2017
1 parent ab80b82 commit 91a1ad4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /build/src/ZKEACMS.WebHost
RUN dotnet publish-zkeacms

# Build runtime image
FROM microsoft/aspnetcore:latest
FROM microsoft/aspnetcore:2.0.3
WORKDIR /zkeacms
COPY --from=builder /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput .
EXPOSE 80
Expand Down
2 changes: 1 addition & 1 deletion mysql.dockerfile → Dockerfile.MySql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN dotnet publish-zkeacms
RUN cp -f /build/DataBase/MySql/appsettings.json /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput/appsettings.json

# Build runtime image
FROM microsoft/aspnetcore:latest
FROM microsoft/aspnetcore:2.0.3
WORKDIR /zkeacms
COPY --from=builder /build/src/ZKEACMS.WebHost/bin/Release/PublishOutput .
EXPOSE 80
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/ZKEACMS.WebHost/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Database": {
"DbType": "MsSql",
"ConnectionString": "Server=(local);Database=ZKEACMS_Core;User Id=sa;Password=sa;MultipleActiveResultSets=true;"
"ConnectionString": "Server=(local)\\SQLEXPRESS;Database=ZKEACMS_Core;User Id=sa;Password=sa;MultipleActiveResultSets=true;"
//"DbType": "Sqlite",
//"ConnectionString": "Data Source=App_Data/Database.sqlite"
//"DbType": "MySql",
Expand Down

0 comments on commit 91a1ad4

Please sign in to comment.