Skip to content

Commit

Permalink
feat(deploy): test deployment to kubernetes azure
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Oct 30, 2024
1 parent 389cb0f commit c2101ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions production/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +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

# Définir le dossier de travail
WORKDIR /app
Expand Down
2 changes: 2 additions & 0 deletions production/ia-worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +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

# Définir le dossier de travail
WORKDIR /app
Expand Down

0 comments on commit c2101ca

Please sign in to comment.