Skip to content
Snippets Groups Projects
Commit 3042257f authored by Cyril L'Orphelin's avatar Cyril L'Orphelin
Browse files

MAJ DOckerfile

parent f0bd2554
No related branches found
No related tags found
3 merge requests!5Module Tapes : Try fixing bug 'Mixed Content The page at was loaded over...,!3Openshift deployment,!2Openshift deployment
Pipeline #59249 failed
......@@ -61,7 +61,7 @@ RUN adduser nginx
RUN addgroup nginx root
RUN mkdir /var/cache/nginx
RUN mkdir -p /var/lib/nginx/fastcgi
RUN chmod -r 777 /var/cache/nginx /var/log/nginx /var/lib/nginx
RUN chmod 777 -r /var/cache/nginx /var/log/nginx /var/lib/nginx
USER nginx
# support running as arbitrary user which belongs to the root group
......
......@@ -3,7 +3,6 @@
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\EntityRepository;
/**
* Librairie
......@@ -53,14 +52,14 @@ class Librairie
/**
* @var \DateTime
*
* @ORM\Column(name="DateCreation", type="datetime", nullable=false)
* @ORM\Column(name="DateCreation", type="datetime", nullable=false, options={"default"="CURRENT_TIMESTAMP"})
*/
private $datecreation;
private $datecreation = 'CURRENT_TIMESTAMP';
/**
* @var \DateTime
* @var \DateTime|null
*
* @ORM\Column(name="DateSuppression", type="datetime", nullable=false)
* @ORM\Column(name="DateSuppression", type="datetime", nullable=true)
*/
private $datesuppression;
......@@ -134,7 +133,7 @@ class Librairie
return $this->datesuppression;
}
public function setDatesuppression(\DateTimeInterface $datesuppression): self
public function setDatesuppression(?\DateTimeInterface $datesuppression): self
{
$this->datesuppression = $datesuppression;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment