Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Glowstudent777 authored Jul 5, 2023
1 parent d5bed68 commit 6bf7363
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Bot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ RUN dotnet restore
# Build the project
RUN dotnet build --no-restore

# Apply Entity Framework Core migrations
RUN dotnet ef database update --no-build

# Run the project
CMD ["dotnet", "run", "--no-build", "--project", "Bot"]

0 comments on commit 6bf7363

Please sign in to comment.