1
0
mirror of https://github.com/fspc/biketree.git synced 2025-02-23 01:13:23 -05:00
biketree/docker/Dockerfile
Jonathan Rosenbaum b833436dff Removes unnecessary chow line from Dockerfile, and points out that -p
should be used with docker-compose since the docker/ directory is
generic.
2017-09-05 04:40:38 +00:00

20 lines
693 B
Docker

#############
# biketree #
#############
# Password is password for &
# docker run -d --name bikebike --env VIRTUAL_HOST=bikebike.wvcompletestreets.org --expose 80 -v /home/freesource/public_html/bikebike:/usr/share/nginx/html nginx:1.11-alpine
FROM nginx:1.11-alpine
MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com>
RUN rm -rf /usr/share/nginx/html; apk update; apk add git; apk add php5-mysql
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
VOLUME /usr/share/nginx/html