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
|
.editorconfig
|
||||||
.env.testing
|
.env.testing
|
||||||
.git*
|
.git*
|
||||||
|
docker/
|
||||||
package.json
|
package.json
|
||||||
|
package-lock.json
|
||||||
phpunit.xml
|
phpunit.xml
|
||||||
webpack.mix.js
|
webpack.mix.js
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
@ -7,7 +7,7 @@ stages:
|
|||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
- public/
|
- public/*/vendor/
|
||||||
- node_modules/
|
- node_modules/
|
||||||
- vendor/
|
- vendor/
|
||||||
|
|
||||||
|
@ -7,4 +7,4 @@ RUN mkdir -p ${COMPOSER_HOME} && \
|
|||||||
touch .composer.refresh && \
|
touch .composer.refresh && \
|
||||||
mv .env.example .env && \
|
mv .env.example .env && \
|
||||||
FORCE_PERMS=1 NGINX_START=FALSE /sbin/init && \
|
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