Work on docker file

This commit is contained in:
Xbird
2022-09-23 21:05:31 +02:00
parent eeabf4d46a
commit 7d803baef9
4 changed files with 36 additions and 5 deletions

View File

@@ -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/

View File

@@ -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"]

View File

@@ -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

View File

@@ -1,3 +1,3 @@
{ {
"version": "0.2.10" "version": "0.2.11"
} }