Build and run the CronSchedulerWorker application
masterYou can run the worker application using Docker or the .NET CLI.
Using Docker
- Build the Docker Image:
docker build --pull --rm -f "src/CronSchedulerWorker/Dockerfile" -t cronschedulerworker:latest .- Run the Docker Container:
docker run --rm -d cronschedulerworker:latestUsing dotnet CLI
- Navigate to the project directory:
cd src/CronSchedulerWorker- Build and Run:
dotnet build
dotnet run# Build the Docker Image
docker build --pull --rm -f "src/CronSchedulerWorker/Dockerfile" -t cronschedulerworker:latest .
# Run the Docker Container
docker run --rm -d cronschedulerworker:latest