welcome: username error handling (#75)
* username error handling welcome ui
* added short username check with separate error handling function
* nothing happaned here
* added username error handling, form saves info
* pull75 fixes
* pull75 fixes ui
* CSS change
* separate css for errors, added logic for several type of errors
* rename extractErrorMessage
* validation changes
* added validations in api
* changed rendering template, recives errors in JSON format
* rolled back schema and makefile in kratos
* changes in HTML
* combined kratos and manual validations
* fixed rendering and handling JSON error response
* rollback unused index.html
* minor fixes
* refactored the repeated logic of Errors into a separate function
* rollback
* refactor: group errors and form data together
* rollback picocss version
* use picocss 2.0.6
---------
Co-authored-by: Giorgi Lekveishvili <lekva@gl-mbp-m1-max.local>
diff --git a/core/auth/ui/Dockerfile b/core/auth/ui/Dockerfile
index 980e40e..6e8d93c 100644
--- a/core/auth/ui/Dockerfile
+++ b/core/auth/ui/Dockerfile
@@ -1,6 +1,5 @@
-FROM alpine:latest
+FROM gcr.io/distroless/static:nonroot
ARG TARGETARCH
COPY server_${TARGETARCH} /usr/bin/server
-RUN chmod +x /usr/bin/server