Commit 017a9901 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Docker : ajustements pour pouvoir construire une démo

parent 8a0eead0
Loading
Loading
Loading
Loading

.dockerignore

0 → 100644
+19 −0
Changes for .dockerignore: 19 added lines, 0 removed lines.
Original line number Diff line number Diff line
/config/autoload/*local*.php

/data/db/
/data/cache/
/data/DoctrineModule/
/data/DoctrineORMModule/
/vendor
/upload

/tmp/
/docker/
/migration/

/etabs/

.DS_Store
.idea/
.~*
.sass-cache/

Dockerfile

0 → 100644
+15 −0
Changes for Dockerfile: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
###########################################################################################
#
#                             Image pour l'application SyGAL.
#
###########################################################################################

ARG PHP_VERSION

FROM registre.unicaen.fr:5000/open-source/docker/sygal-image:php${PHP_VERSION}

LABEL maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>"

COPY . /app

WORKDIR /app
+5 −1
Changes for docker-compose.yml: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -2,7 +2,11 @@ version: '3'

services:
  sygal:
    image: registre.unicaen.fr:5000/sygal-image-php7.4
#    image: registre.unicaen.fr:5000/sygal-image-php7.4
    build:
      context: .
      args:
        - PHP_VERSION=7.4
    container_name: sygal-container-php7.4
    environment:
      - http_proxy