Admin and Gallery and event change

This commit is contained in:
2026-09-24 12:29:46 +05:30
parent a91b957579
commit aea69de410
27 changed files with 1815 additions and 126 deletions
+7 -1
View File
@@ -24,7 +24,13 @@ ENV PORT=3000
ENV HOSTNAME=0.0.0.0
RUN addgroup --system --gid 1001 nodejs \
&& adduser --system --uid 1001 nextjs
&& adduser --system --uid 1001 nextjs \
&& mkdir -p /app/data/uploads \
&& chown -R nextjs:nodejs /app/data
# Admin-panel content (content.json + uploaded images) lives here — keep it on a volume.
ENV DATA_DIR=/app/data
VOLUME ["/app/data"]
# Standalone output — requires `output: "standalone"` in next.config.ts (see note below)
COPY --from=builder --chown=nextjs:nodejs /app/public ./public