fix(admin): serve media from private storage

This commit is contained in:
Schubert Ferenc 2026-07-03 23:45:33 +02:00
parent d9da86dd46
commit faddaa91d0
14 changed files with 114 additions and 20 deletions

View file

@ -26,8 +26,8 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
COPY --from=builder --chown=nextjs:nodejs /app/scripts/runtime-start.js ./runtime-start.js
RUN mkdir -p /app/data /app/public/uploads/images /app/.next/cache \
&& chown -R nextjs:nodejs /app/data /app/public/uploads /app/.next/cache
RUN mkdir -p /app/data /app/storage/uploads/images /app/.next/cache \
&& chown -R nextjs:nodejs /app/data /app/storage /app/.next/cache
USER nextjs
EXPOSE 3010