Skip to content

Commit

Permalink
Updated permissions for tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Mourya Darivemula committed Jan 5, 2024
1 parent d2112a7 commit 4515a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/docker/prod/ecs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscli

RUN groupadd -r ${CONTAINER_USER_GROUP} && useradd -m -r -g ${CONTAINER_USER_GROUP} ${CONTAINER_USER}
RUN chown -R ${CONTAINER_USER}:root /usr/local
RUN mkdir -p /tmp
VOLUME ["/tmp"]
RUN chown -R ${CONTAINER_USER}:root /tmp

USER ${CONTAINER_USER}
Expand Down

0 comments on commit 4515a46

Please sign in to comment.