diff --git a/backend/docker/prod/ecs/Dockerfile b/backend/docker/prod/ecs/Dockerfile index b3628faa0..682770ee3 100644 --- a/backend/docker/prod/ecs/Dockerfile +++ b/backend/docker/prod/ecs/Dockerfile @@ -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}