diff --git a/production/api/Dockerfile b/production/api/Dockerfile index ee0173a..334617c 100644 --- a/production/api/Dockerfile +++ b/production/api/Dockerfile @@ -57,8 +57,8 @@ COPY --from=build /usr/local/lib/python3.11/site-packages /usr/local/lib/python3 # Donner les permissions appropriées pour l'utilisateur non-root RUN chown -R appuser:appuser /usr/local/lib/python3.11/site-packages /usr/local/bin -RUN chown root:root /usr/bin/ffmpeg && chmod +x /usr/bin/ffmpeg -RUN chown root:root /usr/bin/llvm-config && chmod +x /usr/bin/llvm-config +RUN chown root:root /usr/local/bin/ffmpeg && chmod +x /usr/local/bin/ffmpeg +RUN chown root:root /usr/local/bin/llvm-config && chmod +x /usr/local/bin/llvm-config # Définir le dossier de travail WORKDIR /app diff --git a/production/ia-worker/Dockerfile b/production/ia-worker/Dockerfile index ee0173a..334617c 100644 --- a/production/ia-worker/Dockerfile +++ b/production/ia-worker/Dockerfile @@ -57,8 +57,8 @@ COPY --from=build /usr/local/lib/python3.11/site-packages /usr/local/lib/python3 # Donner les permissions appropriées pour l'utilisateur non-root RUN chown -R appuser:appuser /usr/local/lib/python3.11/site-packages /usr/local/bin -RUN chown root:root /usr/bin/ffmpeg && chmod +x /usr/bin/ffmpeg -RUN chown root:root /usr/bin/llvm-config && chmod +x /usr/bin/llvm-config +RUN chown root:root /usr/local/bin/ffmpeg && chmod +x /usr/local/bin/ffmpeg +RUN chown root:root /usr/local/bin/llvm-config && chmod +x /usr/local/bin/llvm-config # Définir le dossier de travail WORKDIR /app