changes for dev env dockers to better support shared volumes (#1723)
[openemr.git] / contrib / util / docker / dockers / dev-nginx / Dockerfile
blob37d1d1e4b19e5a79c1795bc0337f1540f1481af5
2 # Copyright (C) 2018 Brady Miller <brady.g.miller@gmail.com>
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
9 # php-fpm Dockerfile build for openemr development docker environment
10 # This docker is hosted here: https://hub.docker.com/r/openemr/dev-php-fpm/ <tag is 7.2>
12 FROM nginx
14 # Copy over the nginx.conf conf
15 COPY nginx.conf /etc/nginx/nginx.conf
17 # Copy over the dummy self signed key/cert
18 COPY dummy-cert /etc/nginx/dummy-cert
19 COPY dummy-key /etc/nginx/dummy-key
21 # Needed to ensure permissions work across shared volumes with openemr, nginx, and php-fpm dockers
22 RUN usermod -u 1000 nginx