Admin and Gallery and event change
This commit is contained in:
+7
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user