Merge pull request #33 from theoleuthardt/fix/tools-backend-error

fix: permission for creating directory for bg-remover
This commit is contained in:
Theo Leuthardt 2025-03-04 17:52:57 +01:00 committed by GitHub
commit bae880e157
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,10 +59,7 @@ COPY --from=deps --chown=fastify:nodejs /app/node_modules ./node_modules
COPY --from=builder --chown=fastify:nodejs /app/package.json ./package.json COPY --from=builder --chown=fastify:nodejs /app/package.json ./package.json
USER root USER root
RUN mkdir -p /app/tmp && chown -R fastify:fastify /app/tmp RUN mkdir -p /app/tmp
USER fastify
EXPOSE 4000 EXPOSE 4000
ARG CORS_ALLOWED_ORIGIN ARG CORS_ALLOWED_ORIGIN