Fixes
Fixed an issue where media manager only shows files uploaded in specific sections. Fixed an issue with icon picker names. Removed jumbo rounding and a few other style tweaks.
This commit is contained in:
74 files changed
+1622
-195
No files matched your search
+9
-6
@@ -60,12 +60,15 @@ COPY --from=builder --chown=nextchair:nodejs /app/next.config.ts ./next.config.t
|
||||
COPY --from=builder --chown=nextchair:nodejs /app/tsconfig.json ./tsconfig.json
|
||||
COPY --chown=nextchair:nodejs docker/entrypoint.sh ./docker/entrypoint.sh
|
||||
RUN chmod +x ./docker/entrypoint.sh
|
||||
# Media Manager uploads (Phase 9) — public/media is a named volume mount
|
||||
# point (see docker-compose.local.yaml). Creating it here, owned by the
|
||||
# non-root user, before that volume is first attached means Docker
|
||||
# initializes the volume with this ownership rather than root's — see
|
||||
# src/lib/media/media-storage.ts.
|
||||
RUN mkdir -p ./public/media && chown nextchair:nodejs ./public/media
|
||||
# Media Manager uploads (Phase 10) — storage/media (NOT public/) is a
|
||||
# named volume mount point (see docker-compose.local.yaml). Served by
|
||||
# src/app/api/media/[...path]/route.ts, not Next's static handling for
|
||||
# public/ — verified against a real production build that runtime-added
|
||||
# public/ files 404 (Next resolves public assets at build time, not from
|
||||
# a live filesystem check). Creating this here, owned by the non-root
|
||||
# user, before the volume first attaches means Docker initializes the
|
||||
# volume with this ownership rather than root's.
|
||||
RUN mkdir -p ./storage/media && chown -R nextchair:nodejs ./storage
|
||||
|
||||
USER nextchair
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in new issue
Block a user