diff --git a/.build/deploy.sh b/.build/deploy.sh index fdd9a59..4986990 100755 --- a/.build/deploy.sh +++ b/.build/deploy.sh @@ -2,8 +2,8 @@ BUILD_PATH=$1 cd $BUILD_PATH/src || exit 1 -docker-build -f ./InternshipSystem.Api/Dockerfile -t internship.api . +docker build -f ./InternshipSystem.Api/Dockerfile -t internship.api . cd $BUILD_PATH/.docker || exit 1 -docker-compose up -d --force-recreate \ No newline at end of file +docker-compose up -d --build --force-recreate \ No newline at end of file diff --git a/src/InternshipSystem.Api/Startup.cs b/src/InternshipSystem.Api/Startup.cs index be7ab2e..2608009 100644 --- a/src/InternshipSystem.Api/Startup.cs +++ b/src/InternshipSystem.Api/Startup.cs @@ -42,7 +42,7 @@ namespace InternshipSystem.Api app .UseSwagger() - .UseSwaggerUI(options => options.SwaggerEndpoint("/swagger/v1/swagger.json", "InternshipSystem Api")) + .UseSwaggerUI(options => options.SwaggerEndpoint("/api/swagger/v1/swagger.json", "InternshipSystem Api")) .UseHttpsRedirection() .UseRouting() .UseAuthorization()