fix: create data dir with 777 perms + handle in code
Deploy / build-and-deploy (push) Successful in 1m48s

This commit is contained in:
2026-06-14 21:55:30 +03:00
parent 931553906f
commit b34a009eb0
3 changed files with 59 additions and 56 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
RUN mkdir -p /app/data && chown nextjs:nodejs /app/data
RUN mkdir -p /app/data /app/public/uploads && chmod 777 /app/data /app/public/uploads
USER nextjs