Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions rafts/api/validator/VERSION
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions rafts/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
7 changes: 7 additions & 0 deletions rafts/frontend/VERSION
Original file line number Diff line number Diff line change
@@ -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.1
TAGS="${VER} ${VER}-$(date -u +"%Y%m%dT%H%M%S")"
unset VER