Skip to content

Commit

Permalink
feat: chown app files to wodby
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrildewit committed Jan 15, 2024
1 parent 6cdd8c9 commit 26573a3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docker/php/build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ RUN --mount=type=cache,target=/root/.composer/cache composer install \

FROM base AS build

COPY ./artisan ./artisan
COPY ./bootstrap ./bootstrap

COPY ./composer.json ./composer.json
COPY --from=composer_vendor ./app/vendor/ ./vendor

COPY ./config ./config
COPY ./database ./database
COPY ./public ./public
COPY ./routes ./routes
COPY ./storage ./storage
COPY ./app ./app
COPY --chown=wodby:wodby ./artisan ./artisan
COPY --chown=wodby:wodby ./bootstrap ./bootstrap

COPY --chown=wodby:wodby ./composer.json ./composer.json
COPY --chown=wodby:wodby --from=composer_vendor ./app/vendor/ ./vendor

COPY --chown=wodby:wodby ./config ./config
COPY --chown=wodby:wodby ./database ./database
COPY --chown=wodby:wodby ./public ./public
COPY --chown=wodby:wodby ./routes ./routes
COPY --chown=wodby:wodby ./storage ./storage
COPY --chown=wodby:wodby ./app ./app

FROM build AS app
EXPOSE 9000
Expand Down

0 comments on commit 26573a3

Please sign in to comment.