fix: ensure files get created with the correct permissions when building with herokuish

This will allow us to skip more chown operations - and hopefully eventually drop them completely.
This commit is contained in:
Jose Diaz-Gonzalez committed 2024-03-28 17:09:59 -04:00
1 parent ef043e2941
commit 8265517a96
6 files changed
+8 -5

No files matched your search

@@ -2,7 +2,8 @@ ARG APP_IMAGE
FROM $APP_IMAGE
ARG DOKKU_APP_USER herokuishuser
RUN USER=$DOKKU_APP_USER /exec true
ARG TRACE
RUN TRACE=$TRACE USER=$DOKKU_APP_USER /exec true
COPY --chown=$DOKKU_APP_USER . /app
WORKDIR /app
ENV HEROKUISH_DISABLE_CHOWN true