Release: weekly deploy

This commit is contained in:
Danila Khodjaef
2026-07-09 16:03:48 +03:00
parent 0ceb1c1c8c
commit 62096e8210
16 changed files with 169 additions and 38 deletions
+8
View File
@@ -23,10 +23,18 @@ COPY client ./client
RUN npm run build --prefix client
FROM node:20-alpine AS runner
ARG APP_VERSION=0.0.0
ARG GIT_SHA=
ARG IMAGE_TAG=latest
ARG BUILD_TIME=
ENV NODE_ENV=production
ENV PORT=5173
ENV HOST=0.0.0.0
ENV IMAGE_DIR=/app/data/images
ENV APP_VERSION=$APP_VERSION
ENV GIT_SHA=$GIT_SHA
ENV IMAGE_TAG=$IMAGE_TAG
ENV BUILD_TIME=$BUILD_TIME
RUN addgroup --system --gid 1001 nodejs \
&& adduser --system --uid 1001 --ingroup nodejs gallery