Skip to content

Commit e863333

Browse files
Re order copy in Docker
1 parent f3fefd0 commit e863333

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/api/Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,17 @@ RUN chmod -R a+w /var/www/webapp/logs
4343
WORKDIR /var/www/webapp
4444

4545
COPY composer.json composer.lock /var/www/webapp/
46+
COPY packages/ /var/www/webapp/packages/
47+
COPY src/ /var/www/webapp/src/
48+
4649
RUN composer install --no-ansi --no-dev --no-interaction --no-plugins --no-progress --no-scripts --optimize-autoloader
4750

4851
COPY public /var/www/webapp/public
4952
COPY database/ /var/www/webapp/database/
5053
COPY docs/openapi.yaml /var/www/webapp/public/docs/openapi.yaml
5154
COPY docs/schemas/ /var/www/webapp/public/docs/schemas/
5255
COPY resources/ /var/www/webapp/resources/
53-
COPY packages/ /var/www/webapp/packages/
54-
COPY src/ /var/www/webapp/src/
56+
5557
VOLUME /var/www/webapp
5658

5759
COPY docker/api/entrypoint.sh /entrypoint

0 commit comments

Comments
 (0)