docker-symfony icon indicating copy to clipboard operation
docker-symfony copied to clipboard

Nginx official image

Open Glideh opened this issue 8 years ago • 1 comments

Shouldn't we use the official nginx image instead of building one from debian:jessie ? We could use something like:

services:
# ...
  nginx:
    image: nginx:1.13
    depends_on:
      - php
    volumes:
      - ${SYMFONY_APP_PATH}/web/:/var/www/symfony/web
      - ./logs/nginx:/var/logs/nginx
      - ./symfony.conf:/etc/nginx/conf.d/default.conf
# ...

No Dockerfile is even needed for the service

Glideh avatar Jan 12 '18 07:01 Glideh

Hi, Your proposal looks good :) Feel free to open a PR!

maxpou avatar Jan 28 '18 14:01 maxpou