Ensure docker build updates public/ and remove other unnessary files from image
This commit is contained in:
parent
9e90820bfd
commit
a4c05002a1
@ -2,7 +2,9 @@
|
||||
.editorconfig
|
||||
.env.testing
|
||||
.git*
|
||||
docker/
|
||||
package.json
|
||||
package-lock.json
|
||||
phpunit.xml
|
||||
webpack.mix.js
|
||||
yarn.lock
|
||||
|
@ -7,7 +7,7 @@ stages:
|
||||
cache:
|
||||
key: ${CI_COMMIT_REF_SLUG}
|
||||
paths:
|
||||
- public/
|
||||
- public/*/vendor/
|
||||
- node_modules/
|
||||
- vendor/
|
||||
|
||||
|
@ -7,4 +7,4 @@ RUN mkdir -p ${COMPOSER_HOME} && \
|
||||
touch .composer.refresh && \
|
||||
mv .env.example .env && \
|
||||
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \
|
||||
rm -rf ${COMPOSER_HOME}/* composer.lock package-lock.json
|
||||
rm -rf ${COMPOSER_HOME}/* composer.lock
|
||||
|
Loading…
Reference in New Issue
Block a user