fix: use local registry for nginx:alpine image in Dockerfile
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m16s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m16s
- Changed FROM nginx:alpine to 194.5.195.53:32082/nginx:alpine - Fixes TLS handshake timeout when pulling from Docker Hub
This commit is contained in:
@@ -16,7 +16,7 @@ WORKDIR "/src/BackOffice"
|
||||
RUN dotnet publish "BackOffice.csproj" -c Release -o /app/publish
|
||||
|
||||
# Runtime stage - nginx for Blazor WebAssembly
|
||||
FROM nginx:alpine AS final
|
||||
FROM 194.5.195.53:32082/nginx:alpine AS final
|
||||
WORKDIR /usr/share/nginx/html
|
||||
|
||||
# Remove default nginx files
|
||||
|
||||
Reference in New Issue
Block a user