Skip to content

Commit

Permalink
Update app Folders Permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
1473371932 authored Aug 21, 2024
1 parent 96ec00d commit 0a64192
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ ARG TARGETARCH
RUN apt-get update && apt-get upgrade -y
RUN pip install --upgrade --disable-pip-version-check --no-cache-dir pip setuptools
RUN --mount=target=/tmp-mount \
cp -a /tmp-mount/output_${TARGETARCH}/* /usr/local && \
cp -a /tmp-mount/output_${TARGETARCH}/* /usr/local && \
mkdir -p /etc/deepflow/ && \
cp -a /tmp-mount/app.yaml /etc/deepflow/ && \
cp -a /tmp-mount/app /root/
cp -a /tmp-mount/app / && \
chmod -R 755 /app && \
chmod -R 755 /etc/deepflow/

CMD python3 -u /root/app/app.py
CMD python3 -u /app/app.py

0 comments on commit 0a64192

Please sign in to comment.