Merge branch 'Xbird/CleanDocker' into 'main'
Work on cleaning docker image See merge request gamexperience/vision!43
This commit is contained in:
@@ -1 +1,33 @@
|
|||||||
**/.env.local
|
**/*.log
|
||||||
|
**/*.md
|
||||||
|
**/*.php~
|
||||||
|
**/*.dist.php
|
||||||
|
**/*.dist
|
||||||
|
**/*.cache
|
||||||
|
**/._*
|
||||||
|
**/.dockerignore
|
||||||
|
**/.DS_Store
|
||||||
|
**/.git/
|
||||||
|
**/.gitattributes
|
||||||
|
**/.gitignore
|
||||||
|
**/.gitmodules
|
||||||
|
**/docker-compose.*.yaml
|
||||||
|
**/docker-compose.*.yml
|
||||||
|
**/docker-compose.yaml
|
||||||
|
**/docker-compose.yml
|
||||||
|
**/Dockerfile
|
||||||
|
**/Thumbs.db
|
||||||
|
.github/
|
||||||
|
.gitlab/
|
||||||
|
docs/
|
||||||
|
public/bundles/
|
||||||
|
public/build/
|
||||||
|
tests/
|
||||||
|
var/
|
||||||
|
vendor/
|
||||||
|
.editorconfig
|
||||||
|
.env.*.local
|
||||||
|
.env.local
|
||||||
|
.env.local.php
|
||||||
|
.env.test
|
||||||
|
node_modules/
|
||||||
@@ -6,10 +6,6 @@ include:
|
|||||||
before_script:
|
before_script:
|
||||||
- composer install --no-scripts
|
- composer install --no-scripts
|
||||||
|
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- vendor/
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- SecurityChecker
|
- SecurityChecker
|
||||||
- CodingStandards
|
- CodingStandards
|
||||||
|
|||||||
@@ -23,9 +23,7 @@ RUN chown -R www-data:www-data /var/www
|
|||||||
|
|
||||||
USER www-data
|
USER www-data
|
||||||
|
|
||||||
RUN cd /var/www && \
|
RUN cd /var/www
|
||||||
composer install
|
|
||||||
|
|
||||||
WORKDIR /var/www/
|
WORKDIR /var/www/
|
||||||
|
|
||||||
ENTRYPOINT ["bash", "./docker/docker.sh"]
|
ENTRYPOINT ["bash", "./docker/docker.sh"]
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
composer install
|
||||||
php bin/console d:m:m --no-interaction
|
php bin/console d:m:m --no-interaction
|
||||||
php bin/console cache:clear
|
php bin/console cache:clear
|
||||||
exec apache2-foreground
|
exec apache2-foreground
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "0.2.10"
|
"version": "0.2.11"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user