updates
This commit is contained in:
@@ -57,7 +57,7 @@ RUN crontab /etc/cron.d/get-audio
|
|||||||
RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --no-scripts --no-dev --optimize-autoloader
|
RUN COMPOSER_ALLOW_SUPERUSER=1 composer install --no-scripts --no-dev --optimize-autoloader
|
||||||
RUN mkdir /data
|
RUN mkdir /data
|
||||||
|
|
||||||
RUN mkdir -p /var/www/html/var/cache
|
RUN mkdir -p /var/www/html/var/cache/prod
|
||||||
RUN mkdir -p /var/www/html/var/log
|
RUN mkdir -p /var/www/html/var/log
|
||||||
|
|
||||||
RUN chown -R 33:33 /var/www/html /data
|
RUN chown -R 33:33 /var/www/html /data
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ shell_exec("symfony console doctrine:database:create --if-not-exists");
|
|||||||
print "Updating migrations and setting permissions for data folder".PHP_EOL;
|
print "Updating migrations and setting permissions for data folder".PHP_EOL;
|
||||||
shell_exec("symfony console doctrine:schema:create");
|
shell_exec("symfony console doctrine:schema:create");
|
||||||
|
|
||||||
shell_exec("chown -R www-data:www-data /data");
|
shell_exec("chown -R www-data:www-data /data /var/www/html/var/cache");
|
||||||
|
|
||||||
// import reference material
|
// import reference material
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ use Symfony\Component\Uid\Uuid;
|
|||||||
use Symfony\Component\Validator\Constraints as Assert;
|
use Symfony\Component\Validator\Constraints as Assert;
|
||||||
|
|
||||||
#[ORM\Entity(repositoryClass: UserRepository::class)]
|
#[ORM\Entity(repositoryClass: UserRepository::class)]
|
||||||
|
#[ORM\Table(name: 'app_user')]
|
||||||
#[ORM\UniqueConstraint(name: 'UNIQ_IDENTIFIER_EMAIL', fields: ['email'])]
|
#[ORM\UniqueConstraint(name: 'UNIQ_IDENTIFIER_EMAIL', fields: ['email'])]
|
||||||
class User implements UserInterface, PasswordAuthenticatedUserInterface, JsonSerializable
|
class User implements UserInterface, PasswordAuthenticatedUserInterface, JsonSerializable
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user