From 84de8d524a1396d0ac21a5f25be4af8efebdb825 Mon Sep 17 00:00:00 2001 From: Dustin Jenkins Date: Fri, 27 Feb 2026 08:41:30 -0800 Subject: [PATCH 1/2] fix: dockerfile fix --- rafts/api/validator/VERSION | 7 +++++++ rafts/frontend/Dockerfile | 6 +++--- rafts/frontend/VERSION | 7 +++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 rafts/api/validator/VERSION create mode 100644 rafts/frontend/VERSION diff --git a/rafts/api/validator/VERSION b/rafts/api/validator/VERSION new file mode 100644 index 00000000..a6d05ccd --- /dev/null +++ b/rafts/api/validator/VERSION @@ -0,0 +1,7 @@ +## deployable containers have a semantic and build tag +# semantic version tag: major.minor[.patch] +# build version tag: timestamp +# tag: {semantic}-{build} +VER=1.0.0 +TAGS="${VER} ${VER}-$(date -u +"%Y%m%dT%H%M%S")" +unset VER diff --git a/rafts/frontend/Dockerfile b/rafts/frontend/Dockerfile index 44527278..0e51cfca 100644 --- a/rafts/frontend/Dockerfile +++ b/rafts/frontend/Dockerfile @@ -39,8 +39,8 @@ WORKDIR /app RUN apk add --no-cache dumb-init # Create non-root user -RUN addgroup -g 1001 -S nodejs && \ - adduser -S nextjs -u 1001 +RUN addgroup -g 1001 -S nextjs && \ + adduser -S nextjs -u 1001 -G nextjs # Copy built application COPY --from=builder /app/public ./public @@ -55,7 +55,7 @@ ENV PORT=8080 ENV HOSTNAME="0.0.0.0" # Change ownership to non-root user -RUN chown -R nextjs:nodejs /app +RUN chown -R nextjs:nextjs /app USER nextjs diff --git a/rafts/frontend/VERSION b/rafts/frontend/VERSION new file mode 100644 index 00000000..a6d05ccd --- /dev/null +++ b/rafts/frontend/VERSION @@ -0,0 +1,7 @@ +## deployable containers have a semantic and build tag +# semantic version tag: major.minor[.patch] +# build version tag: timestamp +# tag: {semantic}-{build} +VER=1.0.0 +TAGS="${VER} ${VER}-$(date -u +"%Y%m%dT%H%M%S")" +unset VER From a2ff6d20f960bfacde45a8dba4324dbd303a8cf5 Mon Sep 17 00:00:00 2001 From: Dustin Jenkins Date: Fri, 27 Feb 2026 08:50:20 -0800 Subject: [PATCH 2/2] fix: version file update --- rafts/frontend/VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rafts/frontend/VERSION b/rafts/frontend/VERSION index a6d05ccd..606f89a9 100644 --- a/rafts/frontend/VERSION +++ b/rafts/frontend/VERSION @@ -2,6 +2,6 @@ # semantic version tag: major.minor[.patch] # build version tag: timestamp # tag: {semantic}-{build} -VER=1.0.0 +VER=1.0.1 TAGS="${VER} ${VER}-$(date -u +"%Y%m%dT%H%M%S")" unset VER