Browse Source

Removes unnecessary chow line from Dockerfile, and points out that -p

should be used with docker-compose since the docker/ directory is
generic.
master
Jonathan Rosenbaum 7 years ago
parent
commit
b833436dff
  1. 1
      docker/Dockerfile
  2. 1
      docker/docker-compose.yml

1
docker/Dockerfile

@ -14,7 +14,6 @@ RUN git clone https://github.com/fspc/biketree.git /usr/share/nginx/html
COPY settings.php /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d
RUN chown -R nginx:nginx /usr/share/nginx/html; mkdir /var/www; ln -sf /usr/share/nginx/html/ /var/www/html
RUN chown -R nginx:nginx /var/www/html/images/
VOLUME /usr/share/nginx/html

1
docker/docker-compose.yml

@ -2,6 +2,7 @@ version: '2'
# git clone https://github.com/fspc/biketree.git
# This compose file uses jrcs/letsencrypt-nginx-proxy-companion
# use prefix (-p biketree) with docker-compose since docker is generic
# using nginx-alpine
services:

Loading…
Cancel
Save