Skip to content

Commit b367402

Browse files
committed
chore: reorder image build in dockerfile
1 parent b66701f commit b367402

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ USER www-data
128128
COPY --from=composer --chown=www-data:www-data /var/www/html/public/css ./public/css
129129
COPY --from=composer --chown=www-data:www-data /var/www/html/public/js ./public/js
130130

131+
# Application source
132+
COPY --chown=www-data:www-data . /var/www/html
133+
131134
# Composer dependencies
132135
COPY --from=composer --chown=www-data:www-data /var/www/html/vendor ./vendor
133136

134137
# Application assets
135138
COPY --from=frontend --chown=www-data:www-data /app/public/build ./public/build
136139

137-
# Application source
138-
COPY --chown=www-data:www-data . /var/www/html
139-
140140
# Start Octane with FrankenPHP
141141
RUN php artisan octane:install --server=frankenphp -n

0 commit comments

Comments
 (0)