Skip to content

Commit ca1c6f2

Browse files
authored
Update php.Dockerfile
1 parent ba5d9b3 commit ca1c6f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/php.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WORKDIR /app
55
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
66
RUN install-php-extensions @composer
77
## Install dependencies
8-
COPY / /app
8+
COPY / /app/
99
RUN composer install --optimize-autoloader --no-dev
1010

1111
# Vite.js build
@@ -28,7 +28,7 @@ RUN install-php-extensions bcmath pdo_pgsql redis
2828

2929
WORKDIR /app
3030

31-
COPY / /app
31+
COPY / /app/
3232
COPY --from=node /app/public/build/ /app/public/build/
3333
COPY --from=composer /app/vendor/ /app/vendor/
3434

@@ -37,4 +37,4 @@ RUN chown --recursive www-data:www-data /app/storage
3737
RUN echo "php artisan optimize --no-ansi && php-fpm" >> /usr/bin/entrypoint.sh && \
3838
chmod +x /usr/bin/entrypoint.sh
3939

40-
CMD ["/usr/bin/entrypoint.sh"]
40+
CMD ["/usr/bin/entrypoint.sh"]

0 commit comments

Comments
 (0)