Skip to content

Commit 5e6c86b

Browse files
committed
Add exec to dotnet
1 parent cbc4317 commit 5e6c86b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Dockerfile.release

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ COPY ./Scripts/secrets-entrypoint.sh /secrets-entrypoint.sh
2525
COPY ./Scripts/RestoreDB.sh /RestoreDB.sh
2626
COPY ./Scripts/CreateDB.sql /CreateDB.sql
2727
ENTRYPOINT ["/secrets-entrypoint.sh"]
28-
29-
CMD [dotnet, "SimpleToDoService.dll"]

Scripts/secrets-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ fi
1010
# restore database
1111
sh /RestoreDB.sh
1212

13-
dotnet SimpleToDoService.dll
13+
exec dotnet SimpleToDoService.dll

0 commit comments

Comments
 (0)