Skip to content

Commit 04f0780

Browse files
committed
fix chmod
1 parent c7d2c82 commit 04f0780

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ RUN install-php-extensions \
1414
redis
1515

1616
RUN addgroup --gid $GID nonroot && adduser --uid $UID --gid $GID --disabled-password --gecos "" nonroot
17-
USER nonroot
17+
COPY . /app
18+
19+
RUN chown nonroot:nonroot -Rf /app
1820

19-
COPY --chown=nonroot:nonroot . /app
21+
USER nonroot
2022
RUN composer install --no-dev
2123

2224
ENTRYPOINT ["php", "artisan", "octane:frankenphp"]

0 commit comments

Comments
 (0)