Commit 1b77eba4c25bbd29de03a23073dcf10654fe2409

Authored by George Vlahavas
1 parent 7ba34b2f79

Add PHP configuration in container

That removes the need for having another mounted volume only for that.

Showing 3 changed files with 3 additions and 2 deletions

api/Dockerfile View file @ 1b77eba
... ... @@ -42,6 +42,9 @@
42 42 # Copy existing application directory permissions
43 43 COPY --chown=www:www . /var/www
44 44  
  45 +# Copy PHP configuration
  46 +COPY ./api/php/local.ini /usr/local/etc/php/conf.d/local.ini
  47 +
45 48 # Change current user to www
46 49 USER www
47 50  
docker-compose-jfrog.yml View file @ 1b77eba
... ... @@ -79,7 +79,6 @@
79 79 working_dir: /var/www
80 80 volumes:
81 81 - ./api:/var/www
82   - - ./api/php/local.ini:/usr/local/etc/php/conf.d/local.ini
83 82  
84 83 #OD
85 84 od:
docker-compose.yml View file @ 1b77eba
... ... @@ -93,7 +93,6 @@
93 93 working_dir: /var/www
94 94 volumes:
95 95 - ./api:/var/www
96   - - ./api/php/local.ini:/usr/local/etc/php/conf.d/local.ini
97 96  
98 97 #OD
99 98 od: