There was an error while loading. Please reload this page.
1 parent f499d37 commit ea45ad1Copy full SHA for ea45ad1
1 file changed
Dockerfile
@@ -19,6 +19,12 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
19
# Copy composer files
20
COPY composer.json composer.lock ./
21
22
+# The application owns its module and theme packages through Composer path
23
+# repositories. They must be present in this dependency stage so a clean Docker
24
+# build resolves the locked package graph without relying on a developer checkout.
25
+COPY modules ./modules
26
+COPY themes ./themes
27
+
28
# Install composer dependencies (no autoloader yet, will optimize in final stage)
29
RUN composer install \
30
--no-dev \
@@ -168,4 +174,3 @@ EXPOSE 8080
168
174
ENTRYPOINT ["start-container"]
169
175
170
176
HEALTHCHECK --start-period=5s --interval=2s --timeout=5s --retries=8 CMD php artisan octane:status || exit 1
171
-
0 commit comments